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#)?

 

 

 

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.