g_form.getValue is not working in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2016 11:10 AM
I am trying to test the values of a number of true/false fields on a Service Catalog item. The pre-Helsinki Service Portal catalog client script included these lines:
var core = g_form.getValue('core');
This works outside of the Service Portal. However, when I add a line to alert the value of core it is blank, in the Service Portal.
From everything I have read so far, it would appear that g_form.getValue should work just fine in the Service Portal. Is there something that I'm missing?
We are on Helsinki Patch 3 and the catalog client script UI type is set to both.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2016 02:19 AM
Hi chadlockwood,
Did you find a way to tackle this situation ?
I have been trying to setVisible function on the client side in service portal for my sc_cat_item widget. It does not seems to work.
Thanks,
Ishan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2016 02:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2016 02:36 AM
It seems to be specific for setValue function. Does service portal support setVisible function as well ?
As i want to hide catalog variables for service portal but they should be visible when it is from application view(more for itil users).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2017 02:43 PM
Did you find a solution for this? We are in the same boat