- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2016 03:52 AM
Hi everyone,
I've created a record producer that's using the sc_cat_item view which obviously has some limitations in what is and isn't supported in comparison to the traditional record producer view.
I'm trying to create some variables that are saved to the sys_user table and then auto-display for the users the next time they open the form (based on feedback, saving them time from having to add the same information each time).
I've got a script within the record producer that saves this data to the associated sys_user fields I've previously added:
Here's an example of the completed sys_user fields:
The problem is that my record producer isn't auto-displaying these custom fields (it does work for the display name, phone number and email address though)
I'm really stuck. Any idea?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2016 02:47 AM
From this last screenshot, it seems that you might want to use this:
gs.getUser().getRecord().getValue('utas_building');
Try once, if that works.
If it doesn't, please give a screenshot of your 'sys_user' table columns and labels.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2019 06:17 PM
Hi All,
This code worked for me if field is a single line text - gs.getUser().getRecord().getDisplayValue('u_building');
But it isn't working if field is a Reference type.
PLease advise how to fetch the display value of a field from the user form in a record producer form if the field is a reference type.
Regards,
Chaithra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2019 09:08 PM
It will work in reference field as well, if the reference field is pointing to the correct table. Also, use `getValue` instead of `getDisplayValue` function.
deepak;