Populate variable (reference type field) value in opened for & subject person fields on portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2024 02:24 AM
When case is created on portal, opened for and subject person fields display logged in user details. Requirement is to have a particular form variable (reference type field) value in these fields. So, when the form will be submitted, that variable value will be displayed in the Opened For and Subject Person fields on portal.
We have tried using glide record and BR but nothing seems to be working as all the data gets hidden except the OOB short description.
Please suggest some ways to achieve it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2024 02:27 AM
@arunima rai How are you raising case from the portal? I am assuming using a Record producer. If yes, then the record producer should have these variables which can be mapped with the subject person and opened for fields via the mapping functionality on the variable form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2024 02:35 AM
Hi Sandeep,
Yes, case is created via a record producer. If we use below script, it populates the value correctly in backend on case but not on portal.
current.opened_for=producer.'variablename';
current.subject_person=producer.'variablename';
And the field that needs to be mapped is in a variable set, map to field option is not available for variable in variable set.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2024 02:53 AM
@arunima rai There is no separate way to populate opened for and subject person. The script you wrote in the record producer script field should be sufficient to populate opened_for and subject_person on backend as well as portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2024 07:25 AM
Hi, we are able to populate the variable value on the case but issue is the portal display, page is rendering.
This is how it displays currently:
This is how we want it to display: