1

In our implementation of the DXA web app, most of the times we encounter scenarios where the Components are NOT having content in all the fields.

Is there a way to store these empty fields in the DB as well while saving the Components XML, as empty XML tags, so that the Component XML has all the fields in it.

  • Sounds very similar to tridion.stackexchange.com/questions/19796/… – Rick Pannekoek Feb 19 at 17:43
  • 1
    Or if you're talking about in CME, AFAIK - OOTB - In CME GUI default behavior it will only keep the user populated fields as Component XML, not all the fields. Possibility yes, if you looking to keep all the fields then you can use Event system On Save event pre-process the Component Content XML based on schema specific fields using TOM.NET API and save the Component XML. – Velmurugan Feb 21 at 14:39
  • Thank you. Yes, I was thinking the same. Just wanted to confirm, if that's the only possible way to do it, as we are trying to ensure minimal usage of Event System customization in our applications. – NewUser Feb 21 at 17:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.