The XMLport line properties

Different XMLport line properties are active on a line depending on the value of the SourceType property. The first four properties listed are common to all three SourceType values (Text, Table, or Field) and the other properties specific to each are listed after the following screenshots, showing all the properties for each SourceType:

  • Indentation: This indicates at what subordinate level in the hierarchy of the XMLport this entry exists. Indentation 0 is the primary level, parent to all higher-numbered levels. Indentation 1 is a child of indentation 0, indentation 2 is a child of 1, and so forth. Only one Indentation 0 is allowed in an XMLport, so, often, we will want to define the Level 0 line to be a simple text element line. This allows the definition of multiple Tables at Indentation level 1.
  • NodeName: This defines the Node Name that will be used in the XML document to identify the data associated with this position in the XML document. No spaces are allowed in a NodeName; we can use underscores, dashes, and periods, but no other special characters.
  • NodeType: This defines if this data item is an Element or an Attribute.
  • SourceType: This defines the type of data this field corresponds to in the NAV database. The choices are Text, Table, and Field. Text means that the value in the SourceField property will act as a Global variable and, typically, must be dealt with by embedded C/AL code. Table means that the value in the SourceField property will refer to an NAV table. Field means that the value in the SourceField property will refer to an NAV field within the parent table previously defined as an element.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.103.8