You need to sign in to do that
Don't have an account?

Custom pop up notification when records get created from third party application
Hi Devs,
I have requirement which goes like this ,
There is a force.com site which inserts opportunity records into sfdc system . Now Business wants to show a pop up window (notification) to all user as soon as the opportunity records gets inserted and that pop up should have a button for user to take ownership of that record .
Is it implementable ? Can we notify user using pop up screen ?
I have requirement which goes like this ,
There is a force.com site which inserts opportunity records into sfdc system . Now Business wants to show a pop up window (notification) to all user as soon as the opportunity records gets inserted and that pop up should have a button for user to take ownership of that record .
Is it implementable ? Can we notify user using pop up screen ?
I trust you are doing very well.
You can't display an alert from a trigger. A trigger doesn't have any direct access to the user interface.
Please refer to the below links with a similar discussion and the possible solution which might help you further with the above issue.
https://stackoverflow.com/questions/11595574/display-alert-box-through-the-trigger-salesforce
https://salesforce.stackexchange.com/questions/23656/how-to-display-a-message-when-the-trigger-finishes
https://salesforce.stackexchange.com/questions/63660/confirmation-box-in-apex-code-invoke-by-a-trigger
https://salesforce.stackexchange.com/questions/119887/can-we-display-warning-message-from-trigger
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.
Thanks and Regards,
Khan Anas
Hi Khan Anas,
Thanks for the reply .. Just to make you more clear about the scenario ,
The user can be in other tab /any objects record and then when the opportunity record gets created in background using trigger . wil the above solution help ? I doubt so as there is standard vf page controller involved which is pertaining to specify record only (in this case opportunity) .
So will alert box pop up related to opportunity when record is created even when user is in other tab/record .
Regards,
Sanju C A