The building blocks of an elastic data model

Was this article helpful?

Still need help? contact us

Comments

2 comments

  • Avatar
    Mikael Nixholm

    If possible could we get some more information on when to use XML Data Type, what are the benefits and cavities. For example when storing data from Extension, is it better to use XML field or resource binary when data content is medium to large file/binaries ?   

    0
  • Avatar
    Steve Vink

    Hi Mikael,

    the XML Field type is designed for structured data that does not need further enrichment, as the name suggests. It is not intended for converting XML files and storing as a data field.

    A good example is SKU data in the fashion industry. The Product/Item describes the dress, it's pattern, material, marketing story etc. The sizes that the dress is available in can be stored as an XML Field, because there are many sizes but no further enrichment is required. You may want to store other non-editable information about the size, such as its EAN barcode number, and so it is not practical to use a CVL list.

    Using in-context editing tabs, you can extract the XML data and present it in a user-friendly table format. You could potentially make this data editable in the tab and save it back to the Field as XML.

    Although the Field-type is XML., you can store any format such as JSON and csv. Using XML makes the information compatible with Content Store, where there are configuration parameters to extract and present the data.

     

    0

Please sign in to leave a comment.