Record is showing sys id and not the label in the form record Now Platform
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2022 07:38 PM
I created a catalog item that uses category and subcategory. The variable category uses a select box and subcategory uses reference field. In the table itself, both fields are string type. When I navigate to the service portal, the subcategory is showing the name correctly. However, after submitting the ticket the sys id is showing in the form record instead of the name inside the Now Platform.
What am I doing wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2022 07:17 PM
Hi Pat, how are you mapping your reference field to the form field on your table? My first guess is that you're using the Map to field checkbox - but this only appears on record producers not catalog items which you mentioned you're using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2022 06:58 AM
Nick,
I am using the Map to field checkbox to map subcategory from the portal to the table column. Sorry, I am using a record producer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2022 07:27 PM
As far as I'm aware, you can't use the Map to field option to map a specific value from reference field to a non-reference field (ie: a string field in your case). You can try with a look up select box variable, that does give you the option to specify a underlying value for the option you select.
Since you're using a record producer, it might be easier for you to use the record producer script:
current.subcategory = producer.subcategory.getDisplayValue();
You can update the field names in the above script so they match your actual field/variable names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2022 07:58 AM
Hi Nick,
Instead of using a script, can I use variable type Reference (record producer) and column type (reference) from the table so that both are the same data type?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2022 04:15 PM
Hi