How to map a variable set from a record producer to a fields in a table?

Community Alums
Not applicable

Hello! I don't know how can i map the values of the variable set to the fields of the table form. I saw in a post that can't be done. Any ideas?

1 ACCEPTED SOLUTION

Hi,

There is already a script field for the record producer. That is where you'd use the above, example:

AllenAndreas_0-1678395015848.png

 

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

3 REPLIES 3

Allen Andreas
Administrator
Administrator

Hi,

For variable set, in the record producer script, you can map the fields such as:

 

current.field_name = producer.field_name;
current.field_name2 = producer.field_name2;

 

Where "current" is your new record being created and "producer" is the record producer.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Community Alums
Not applicable

Hello Allen! Thank you for your answer! We should make a client script in the table, a catalog client script or a script in the record producer? thanks.

Hi,

There is already a script field for the record producer. That is where you'd use the above, example:

AllenAndreas_0-1678395015848.png

 

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!