gr.variables.getElements() in scoped app
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2019 09:12 AM
In this documentation there is an example of using gr.variables.getElements(). The example in global scope works fine but not in my scoped app. Is there an scoped equivalent function?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2019 09:24 AM
getElement(String fieldName)
Retrieves the GlideElement for a specified field.
Name | Type | Description |
---|---|---|
fieldName | String | A field name |
Type | Description |
---|---|
GlideElement | A GlideElement object |
To use the getElement() method in a scoped application, use the corresponding scoped method: getElement().

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2019 09:26 AM
adding one thread here. hope it will help you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2019 09:37 AM
Hi maxpower,
Harshvardhan provided good information, but essentially gr.getElement() should work in scoped app
Thanks,
Phuong