How to remove the extensionElements?


#1

Is it correct to remove the extensionElements this way ?

    delete myComponent.businessObject.extensionElements;

or there is another better way to do it?


#2

Could you provide a little bit more context to your question?

  • Why would you like to remove the extension elements?
  • When would you like to remove them (during modeling, …)?