Skip to content

Import properties

Instead of adding every property by hand, you can let DASH build the definition from an example XML file, for example one your customer supplied. DASH reads the file and recreates its nested structure of entities and value properties. The import runs in the background, so a large file doesn’t hold up the page.

  1. Open the empty definition and stay on the Definition Details tab. You’ll see Build your definition: “Upload an example XML file from your customer and we’ll auto-detect the definition structure.”
  2. Drag the XML file onto the area, or select Upload XML File to browse for it.
  3. While the import runs, the area shows “Importing XML structure…” and “Parsing your file and building the definition. This may take a few seconds.”
The Build your definition area while an XML import is in progress
The Build your definition area while an XML import is in progress
  1. When the import finishes, the generated structure appears in the XML Output Structure panel, marked Read-only, with “This structure was imported from an example XML file.”
The imported structure: entity hierarchy, properties and an XML preview, marked Read-only
The imported structure: entity hierarchy, properties and an XML preview, marked Read-only
  1. Review the result. You can’t change the imported hierarchy, but you can assign a Document Area to each entity and set which properties are required. See Add & manage properties.

If DASH can’t read the file, for example because the XML is malformed, a notification “XML structure import failed” appears with the reason, and the same reason is shown above the upload area. No half-built structure is kept: the definition stays empty and Build your definition is offered again. Fix the file and upload it again.

A failed import: the error notification with its reason, and the empty upload area offered again
A failed import: the error notification with its reason, and the empty upload area offered again
Message What it means
“Please upload an XML file.” The file you dropped isn’t an .xml file.
“An import is already in progress for this definition.” Wait for the current import to finish before starting another.
“Definition already has properties. Create a new definition or clear existing properties first.” Imports only work on an empty definition.
“Cannot import to a definition locked by a signed certificate. Create a new version.” A signed certificate is built on this definition. Select New Version and import into the new, empty version.