Salesforce

XML Tab - Data Sources (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

XML Tab - Data Sources (Magic xpa 4.x)

The XML tab of the Data Source Properties dialog box includes the following properties:

Property

Description

XSD Schema File

The location of the XSD file. The file name can contain up to 260 characters.

Root Element Name

The name of the selected root element. Magic xpa’s data source definition supports only one root element. In the Get Definition phase, if the element has multiple roots, you will be asked to select the root element. This field can contain up to 260 characters.

This property will always be unqualified (i.e. only a local name).

View Main Element

By including elements in the view, you are making the elements available for use.

In the view, you can include:

  • Only elements which are not already included.

  • Only one Compound or Repeatable element.

  • Simple elements or attributes can be included only after a compound or a repeatable element are included in the view.

The compound or the repeatable element included in the view is the View Main Element.

When you include the View Main element, all of the simple elements/attributes under it (non-repeatable compounds) are automatically included.

Elements of the View Main element or its non-repeatable descendant compound elements are termed: Elements Of/Under the View.

Elements of ancestors (of the View Main element), or their non-repeatable descendant compound elements are termed: Elements Above the View. When including Elements Above the View, their column name is prefixed with a forward slash (/).

Parent Locate Index

One of the XML view's indexes that will be used during runtime to locate a parent record. By default, Magic xpa will use the Parent Id as the Parent Locate Index.

If you select an index that is later deleted from the Indexes tab, the value of the Parent Locate Index will be reset (index #0).

Schema Location

The schema name and location that will be written at runtime into the schemaLocation attribute of the newly generated XML file.

Since version: 3.2

Reference
Attachment 
Attachment