Hi guys.
I need suggestions about the 2 solutions below:
Description: I need to create/update some records against the selected records in the opportunity view. So, the user will selected some records in the view, and then will press a home grid ribbon button to execute the logic against the selected records and refresh the page after that. So, what is the best way for doing that?
Solution 1: Use JavaScript Web API to execute all the create/update logic and after that, refresh the grid or show an error.
Solution 2: Use JavaScript to call a custom action, then the custom action calls the plugin. Get the return (error or success) from the plugin in my action and if success, refresh the grid view, else show error.
Thanks
*This post is locked for comments
I have the same question (0)