Issue with mapping field from record producer to backend field

Sam198
Mega Guru

Hi all

I am mapping a dropdown field from record producer to the backend field 

I have tried on record producer script:

current.fieldname = producer.getValue('variablename');

and

current.fieldname = producer.variablename.getDisplayValue();

It works fine for most of the values, but when there is a long value it cuts out the end and copies the cut out version as below:

Sam198_0-1686747299639.png

 

When i check the question_answer table - from the list view i see this exact format, but when i open the record the full value is there - so not sure why it is cutting out the end part:

question_answer table:

Sam198_1-1686747376503.png

 

Inside the record the value is actually in full length - Please help in figuring out why this is the issue?

Sam198_2-1686747457167.png

 

Value in the choice table is also full length - but the list view is like above - how it is putting on the field 

Sam198_0-1686747799944.png

 

1 ACCEPTED SOLUTION

Michael Fry1
Kilo Patron

Values are not supposed to contain capital letters nor spaces. Values should be lower case. I'd change your value to be lower case and maybe even shorter.  Then try again.

View solution in original post

1 REPLY 1

Michael Fry1
Kilo Patron

Values are not supposed to contain capital letters nor spaces. Values should be lower case. I'd change your value to be lower case and maybe even shorter.  Then try again.