- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2023 02:23 AM
Hello All,
I have a ui action, that opens up a dialog window to assign roles to the user.
My requirement is that on the main user form, if few details are filled or changed and then the ui action is clicked to open the dialog window and assign roles, after clicking on 'ok' in the dialog window, it should also save the details from the main form into the user record along with the roles.
But as per the below configuration, the roles are added, but if the main user form details are modified, it is snot getting saved.
1. UI action
2. UI Page
3.After clicking on OK, it gives this alert and the main user form details are not saved.
Please help.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2023 02:32 AM
Hello @Hardik Panchal
In your client script you need to save the form and it should be return true instead of value and remove the line of GlobalDialogWindow, it is destroying the page.
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2023 03:14 AM
Hello @Hardik Panchal
As per new community rules, you can accept multiple solution as accept.
Can you pls mark my second response as accept, which is having that dialog box issue resolution.it will help other users to get complete solution.
Regards,
Samaksh