- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 11:34 PM
Hi,
I am having problem to call gs.getProperty in BR in Scope app.
I am trying to set a value in BR Set Value Field using javascript:gs.getProperty("x_18xxx_xxxxxxx.group") but i am getting an error Function getProperty is not allowed in scope.
Am I doing something wrong? According to wiki it should work
Scoped GlideSystem API Reference - ServiceNow Wiki
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 11:52 PM
For some funny reason if I set the same in Script it works but it doesn't work in Set Value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 11:40 PM
Hi,
Please check getEscapedProperty(String, Object) this function and if it's not working remove javascript prefix to the getProperty function.
Thanks,
Veeresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 11:52 PM
For some funny reason if I set the same in Script it works but it doesn't work in Set Value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 11:57 PM