Can I display an alert or message in a follow-up action?
Antoine LELEU (50●1●27●28)
| asked Feb 10 '14, 5:42 a.m.
edited Feb 11 '14, 1:35 a.m. by Geoffrey Clemm (30.1k●3●30●35)
Hello,
i developed a plugin (follow-up action - Server Side) to sync data with an extenal tool. All works correctly but i would like to add feature.
In some cases, i want to alert the user that data will be overwritten on the external tool by a message or a pop-up. The best will be a pop-up where i asked confirmation to the user.
Is it possible ?
Thanks for help
Antoine
|
Accepted answer
you cannot cause a popup. you can use warning or info type returned elements to cause the team advisor window to display at the client. but the transaction will have been completed.
IProcessReport.WARNING IProcessReport.OK there is no support for interactive messaging. You would have to write a client side plugin to check the status and present a message before invoking the server side save. Antoine LELEU selected this answer as the correct answer
|
One other answer
Hi Sam,
Thanks for your answser.
With the IProcessReport method, i can display en ERROR message in the web UI (red banner at the top of the page) using IProcessReport.ERROR
i would like to display a OK message (green banner) to inform the user that data has been synchronize with internal tool and all is ok. But when i user IProcessReport.OK, nothing is display.
Do you have any idea ?
Thanks,
Antoine
Comments Antoine,
Antoine LELEU
commented Feb 19 '14, 3:56 a.m.
Hi Ralph,
You know, when you save dashboard or plan, a green banner appears at the top of page in the web UI.
I would like display something like that at the end of follow up. I hoped the IProcessReport.OK could do that but i tried and nothing is display.
If it does not show, it does not show. You could create an enhancement request.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.