Community

LineItems add new line from Script

Hi Community,

I trying to add a new item on LineItems in FC from Script but I'm not getting good results.

I was using the next code line:

Context.Field("LineItems").Items.AddNew(0);

In consideration, my "lineitems" were defined with 4 items but I need to add a new item when I detect a specific value name.

Do you know can I add a new item from script (C#)?

 

 

 

0

Comments

0 comments

Please sign in to leave a comment.