Skip to end of banner
Go to start of banner

Metadata Fields

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

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.

Attributes

NameDescriptionValue
id

Unique Identifier

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

Example

 Fields
Fields
<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>
  • No labels