UI page containing reference field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2016 06:22 AM
Hi,
I need some help with a UI page (not very familiar with jelly script). So, I would like to have a reference field on the UI page referencing the sys_user table. This UI page will be used on a record producer, so when a user enters a name in that reference field and submits the form, I would like the Name reference field on my table record to be populated.
I have added the following line to my UI page, and the reference field does display on my form, but I'm not sure how to capture the value entered there, then save it on my table record.
<g:ui_reference name="QUERY:active=true^roles=service_desk" id="u_name" table="sys_user" style="width:180px"/>
Any assistance would be appreciated.
Thanks,
Maria

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2016 06:54 AM
How are you using the UI Page on a Record Producer. As a popup with GlideDialogWindow or something?
I think what you need is a Variable on your Record Producer (you have hide it with a UI Policy). The value from the UI Page needs to be copied to the Variable with a Client Script. When you submit the Record Producer, you can map the Variable to the Name field on your new record.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2016 07:01 AM
I have cross posted this question to: Live 4 hr Q&A session with Service Catalog Product Experts
Hopefully we'll have an answer today during the session.