How to remove the extensionElements?


Is it correct to remove the extensionElements this way ?

    delete myComponent.businessObject.extensionElements;

or there is another better way to do it?


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, …)?