Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 10:22 PM
Hello Everyone,
I need a small requirement on UI action.
I need to display form button via UI action script or Client script if caller is in the given group. Although I create a new group.
My script:-
var callerValue = g_form.getValue('u_caller');
if (g_user.hasRole(callerValue)) {
g_form.removeDecoration('form_button');
} else{
g_form.addDecoration('form_button');
}
Any help will be grateful
Thank You
Regards,
Suyash
Thank You
Regards,
Suyash
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 10:25 PM
Please have a look on the below posts :
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 12:08 AM
Can you please share a snip of the UI Action configuration ?
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 12:11 AM