variable set fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 10:37 PM
Hi Team ,
Need help ,
The ' Short description ' and ' Description ' , are coming from variable Set .
And I want to make this variables not visible , when ever the [ Request category = production access to scdass ]
Please provide me Client Script .
NOTE - Please give Cilent Script only instead of UI plocy . Why because there are some confusion's in UI Plociy .
Please give Cilent script :
When ever user selects " Request category = production access to scdass " >>>> short desp and desp , has to be not visible .
Please give Cilent script :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 11:23 PM
@Arun_Manoj yes value of variable.
Thanks
dgarad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 11:52 PM - edited 03-10-2024 11:56 PM
@dgarad sorry , you need to make some modifications to achieve the requirement in the script, where the fields needs to mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 11:27 PM - edited 03-10-2024 11:29 PM
As per your instructions i have written the script .
subimtted the request
while checking the ritm in platform I don't know why this short desp and desp are coming
NOTE - The short desp and desp , which are coming from the varible set , and we have use that variable set across 40 catalog items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 11:29 PM
As per your instructions i have written the script .
subimtted the request
while checking the ritm in platform I don't know why this short desp and desp are coming
NOTE - The short desp and desp , which are coming from the varible set , and we have use that variable set across 40 catalog items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 11:46 PM
Hi @nameisnani
1) onLoad Catalog Client Script which Applies to Variable Set
2) UI Type - ALL
3) Script below
Ensure you add valid catalog item sys_id in below
function onLoad(){ if(g_form.getUniqueValue() == 'Your Catalog Item SysId Here'){ g_form.setMandatory('variable1', false); g_form.setVisible('variable1', false); } }
Thanks
Thanks
dgarad