Help

Re: Update a field value with a script

3051 0
cancel
Showing results for 
Search instead for 
Did you mean: 
thatkidrich
4 - Data Explorer
4 - Data Explorer

I am at a loss. This seems like it should be the easiest thing in the world. I am trying to write the TableID using a script to a field called "TableID". I have the variable value:

var id = base.getTable("Target Activity").id;

This returns the correct value. However, I can't figure out how to set the value to the field. Am I missing something?

1 Reply 1

Can you post a screen shot of your table and field? Are you trying to update the field value for an existing record or create a new record with the field value.

To update the field value for an existing record, you use table.updateRecordAsync(). To create a new record, use table.createRecordAsync(). See the scripting documentation for more info.