map multiple variables to one field in the record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 05:11 AM
Hi everybody,
I have a question regarding mapping multiple variables to one field in the record producer. Only one variable can be mapped out of the box. Is there any workaround to achieve this with multiple variables?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 05:23 AM - edited 11-20-2023 05:24 AM
Hi @Alik_92 ,
You can use record producer script section & write the code in below manner:
Please use proper backend name of the fields
current.field1 = producer.field;
current.field2 = producer.field;
current.field3 = producer.field;
current.field4 = producer.field;
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 05:24 AM
Hi @Alik_92
You can use record producer script to do this. For examples, if you have two variables which needs to be concatenated and assigned to a field in target record, you can use the following code.
current.short_description = producer.variable_1 + " " + producer.variable_2;
Please let me know your exact variable types and target table and field types if you want specific solution.
Please mark my answer helpful and accept as a solution if it helped 👍✔️
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 05:34 AM
Hi Anvesh,
Starting with the variable "home address" to "your leasing contract" should have a "description" field.