The CreatorCon Call for Content is officially open! Get started here.

How to show Record Producer from Record Form instead of Variables

Salim Fg
Tera Contributor

Hi everyone,

I have a question regarding the Record producer and form: So I created an application that have a custom Table which have 3 Related list tables and I configured the Form to show them in the way I want to and including UI policies etc and the form looks like this.

find_real_file.png

Now I'm trying to create a record producer for that table and after configuring it I get all the fields shown as "Variables" that I need to map to fields...

find_real_file.png

 

So my question is if there is a possible way to show the exact layout that I see in Form Design instead of the variables list ? How to show related list in the record producer ? In my case I need to create multiple residences and educations for a user for example.

 

 

Thank you so much for your help !

3 REPLIES 3

Apeksha Joshi
Kilo Guru

Hi there ,

please refer following link it might be helpful to you :

https://community.servicenow.com/community?id=community_question&sys_id=8d638725dbd8dbc01dcaf3231f96...

If my reply helps you at all, I’d really appreciate it if you click the Helpful button and if my reply is the answer you were looking for, it would be awesome if you could click both the Helpful and Accepted Solution buttons! 

 

Regards,

Apeksha

TrenaFritsche
Tera Expert

Hello Salim Fg,

Not sure if you received a solution for your issue?  In case no, I'll give you my thoughts on what I understood your question.  The variables on a record producer are meant to transfer to actual fields on a record that you want to preserve as part of the submission of the form.  That being said, if you want your "back end" form (of the table you created) to look like the variables on the "front end" form, you will need to create those fields in your table and configure them to display on the back end form in the same order of your front-end form.  When the record producer gets submitted, you can write a script to move the producer variables to the table fields.  In lieu of the scripting, I believe when you create the variables for the front-end form, you also have the option to configure it to transfer (map) to a field at the creation of the variable (or maybe if the variable is already created, you can edit it and change it to map to a field). 

Thanks,

Trena

 

Salim Fg
Tera Contributor

The solution that I ended up using is to use variable sets and add them to the record producer.

My conclusion: The equivalant of the Related lists in Record Producer will be Variable Sets that you can parse in the Record Producer script and add them manually throught GlideRecord.

find_real_file.png

find_real_file.png