How to make UI macro fields read only in the variable editor?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2019 03:28 AM
Hi Everyone
I was trying to make a variable of type UI Macro Read Only in the 'Variables Editor' of Requested Item Form but i couldn't find any solution.If any of you has tried the same and found a solution please let me know.
Can any one suggest how to do this or share the experiences who used it and find the way to do it ?
Thanks and Regards.
- Labels:
-
Request Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2019 03:42 AM
Hi ,
CHeck the below link where the user faced same issue
Mark my ANSWER as CORRECT n also HELPFUL if it helped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2019 03:42 AM
Hi There,
try
For example:
HTML/XML:
<g:ui_reference name="my_ref" table="sys_user" />
Client Script:
var ro = gel('sys_display.my_ref');
ro.readOnly = true;
If this resolves your query, please mark my comments as correct and helpful .
Regards,
Ajay Chavan