Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

I need help with script to update bulk of records from excel file to form field

Zuri
Tera Expert

I need to update shipping address of requested items with these data from excel file. I have more than 1000 records

NumberAddressCityStateZip
RITM0010015MultipleMultipleVAMultiple
RITM00100161007 Green Street SoutheastConyersGA30094
RITM0010017254 Daniel Webster Highway #4NashuaNH03060
1 ACCEPTED SOLUTION

Oscar Lopez
Mega Guru

What you need to do is to load the data using Import Sets.

By using a Transform Map you can change the value of the given record by using the Run Script of the transform map, something like:

For Reference field

target.variables.variable_name.setDisplayValue(source.u_incoming_value);

For Simple text field

target.variables.variable_name = source.u_incoming_value;

 

and don't forget to coalesce using your RITM number.

That should do the work.

View solution in original post

5 REPLIES 5

Oscar Lopez
Mega Guru

What you need to do is to load the data using Import Sets.

By using a Transform Map you can change the value of the given record by using the Run Script of the transform map, something like:

For Reference field

target.variables.variable_name.setDisplayValue(source.u_incoming_value);

For Simple text field

target.variables.variable_name = source.u_incoming_value;

 

and don't forget to coalesce using your RITM number.

That should do the work.