Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Help with script

Avatar

Level 7

Any time I add a new line(Instance) I also populate auto a line number(1, 2, 3,......).

Thats fine.

The problem I have is when for example I have 3 instances and I like to delete the instance #2,

the line numbering remains 1 and 3 which it is not correct! Much be 1 and 2.

Thanks

1 Reply

Avatar

Former Community Member

Just move your code that puts the value in the box (LineNum field) from Initialize to Layout Ready.

Paul