AnsweredAssumed Answered

Delete ReferencedElement from Event frame

Question asked by Bart on Apr 9, 2020
Latest reply on Apr 20, 2020 by Bart

Hello,

 

I would like to delete an element reference in an event frame with AF SDK.

I use this code to realise this:

 

cureventframe.ReferencedElements.Item(x).Delete()
cureventframe.CheckIn()

 

But when I check the PI System Explorer, the element is still listed as a referenced element:

(see picture) 

 

 

The reason why I want to do this, is because I want to move event frames in bulk from one AF-element to another without having to remove and backfill all the events...

 

Anyone who can help me?

 

Kind regards,

Bart

Outcomes