Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Copying actions to another cell in a table

Mary-Anne_R
Level 2
Level 2

Hi,

I have set up a table and in the first cell created several actions using the action builder (for example if XYZ is entered change the colour to grey, if ABC is entered change the colour to red). I want to copy and paste this field to a number of cells in the table however the actions refer to the original cell...is there a way to have it copy the actions but reference the cell it is pasted in to?

Hope this makes sense!!

1 Reply
_Nith_
Level 10
Level 10

this keyword refers to the current object in the scripting model.

a typical syntax would be as follows..

Since the code uses a relative reference (this), you can copy the field on all cells of the table. No need to change anything on the code.

Nith