
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2023 04:34 AM
Hi, would someone be able to assist me on the best way to create a script to hide a field on a variable set for a record producer?
The reason I cant use a UI policy is that I want to check the record producers script field to see whether it contains a certain field in the script!
Probably not the most efficient, but the only way to identify which record producers should / should not display the field.
So the checkbox field in the variable set is 'u_internal' and the Record Producer script will sometimes reference this to auto set it to true on creation of the record. So where it is, I dont want users to see the checkbox on the record producer.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2023 01:32 AM
In the end, I left the field visible as only affected a couple of forms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2023 05:45 AM
Hi @M_iA
Is this catalog client script not working????
Can you please share your code in which to find the exact rot cause.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2023 07:07 AM
Hi @Kalyani Jangam1 , I havent yet written a script as would know how best to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2023 10:09 PM
Hi @M_iA
Open record producer=> Go to the variable set => Create catalog client script for particular variable set and use following code
g_form.setVisible('pass variable name here', 'pass value here');
Please use and let me know if it helpful or not.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2023 01:32 AM
In the end, I left the field visible as only affected a couple of forms.