Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
nameblue

Metadata Fields

The fields XML files are XML files that describe all the fields and datapaths of their respective entity (i.e. the accountsreceivable.xml describes the AccountReceivable entity). By including these fields in these XML files, we are stating that the restrictions isEditable, isViewable, and isMandatory can be applied to them, and can be configured in the Security Profiles. In order to apply the restrictions at a field, the field's filename should be included in entities metadata file in the corresponding entity's <metadatafile> tag.

...

NameDescriptionValue
id

Unique Identifier.

Any
nameA name that describes the field.Any
xpathThe xpath field name.Any
relatedentityxpathThe name of the related entity as it's defined in data class of the main entity.Any

Example

Expand
titleFields
Code Block
themeEclipse
languagexml
titleFields
<entityfieldconfig>
	<fields>
		<field>
			<id>number</id>
			<name>Number</name>
			<xpath>number</xpath>
		</field>
 
		<field>
			<id>name</id>
			<name>Name</name>
			<xpath>name</xpath>
		</field>

		<field>
			<id>type</id>
			<name>Type</name>
			<relatedentityxpath>type</relatedentityxpath>
			<xpath>name</xpath>
		</field>
 
		...

	</fields>
</entityfieldconfig>