- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2015 09:29 AM
Hello All,
I have created a variable sets. But on particular selection i am able to hide variable of variable sets. But i am not able to hide variable set title or header bar.
Can anyone suggest it.
Thanks
Regards
Bhushan Salsekar
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2015 01:16 AM
Hello Bushan,
try this g_form.setDisplay('variable_set_name',false);
Replace 'variable_set_name' with the name of your variable set.
This will hide the complete variable set including title. You don't have to hide variables individually.
Do let me know if it works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2016 04:27 PM
So have ServiceNow acknowledge that it's an actual defect or are they trying to pass it off as an "enhancement"? I'm also shocked by the lack of updates to the Service Portal in these recent patches considering the amount of issues I've had, esp. in the portal view for catalog items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2016 06:16 AM
Initially, I believe it was considered more of an enhancement, as I was told nested containers and container layouts were not supported in SP. However, it seems they have done some work on this now, as well as recognized the issue with the variable sets. I ended up going back to using the 'split' variable in my containers in order to get around the layout option not working, only to have the split setup break in patch five, and now the layout options work.
I really enjoy working in Service Portal, but it has a ways to go yet with how it renders forms and catalogue items. It's not as easy as they are making it out to be.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2016 07:26 AM
Hi,
You need to select the Run Script in UI type as 'Both' to make it work on portal.
Same applies for catalog clients script as those will also not work if its UI type is not selected as 'Both'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2016 08:12 AM
Hello,
I am having the same type of issue with using g_form.setVisible() in a Catalog Client Script. I am using it to conditionally hide or display two separate variables. This works perfectly fine in the form, but the Service Portal seems to be ignoring setVisible() completely.
I have set the UI Type to "Both" and the rest of the Catalog Client Script is being recognized by the Service Portal, just not setVisible() or setDisplay()
Has anyone learned anything further about this still being an outstanding bug or a work-around?
Thanks,
Mel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2017 08:22 AM
Hi,
Is there an solution to this issue ? I'm experiencing the same problem on Istanbul.
Thx a lot.