- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2015 10:23 AM
Hi All,
I have written a Catalog UI policy on a Variable Set. I have this variable set in one order guide (starter request) and other items which are related to this order guides.
In UI policy under Catalog conditions I observed that "Catalog Item" field is available. So I utilized it as per the below snapshot.
In the above snapshot starter request is the name of the Order Guide. I was expecting that this policy will not work for Starter Request but it is not happening.
I want the variables to be read only on all other Items except the Starter Request order guide.
Am I doing something wrong ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2015 04:46 AM
Thanks Kalai,
I used g_form.getParameter("sysparm_id") to get the sys_id of catalog item.
Order guides don't have this value but catalog items return sys_id. Using this logic I wrote a client script to make the variables read only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2015 11:52 AM
Hi Sachin,
I got solution for problem, what you can do . instead of creating catalog ui policy on Variable set. Please create Catalog ui policies separately for Order guide ( variable set variable's are also present on form..so under ui Actions you can see variables of variable set too ) and catalog item/ maintain item.
I have tried this , this is working fine.
Please try it and let me know .
Thanks & Regards
Govind Kumar Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2015 11:55 PM
Govind I am using cascade variables to pass the values from Order Guide to Catalog Item.
What I understood from your solution is Create a catalog ui policy on order guide. This means that I will have to create separate ui policies for each catalog item right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2015 11:58 PM
yes right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2015 01:56 AM
Govind...I know this solution will work but I will have to create a UI policy for each Item. Going further if new catalog item is to be attached to the order guide then I will have to create a new UI policy.
I was looking for a solution which can avoid this rework.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2015 01:19 AM
Hi Sachin,
have you tried this. Is your requirement fulfilled?
Thanks & Regards
Govind Kumar Sharma