Skip to end of banner
Go to start of banner

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 3 Next »

Description

The xml files that are located in the fields folder (/Crm/WebContent/metadata/fields) 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.

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

Examples

<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>
 
		...
 
		<field>
			<id>createdByUser</id>
			<name>Created By User</name>
			<relatedentityxpath>createdByUser</relatedentityxpath>
			<xpath>username</xpath>
		</field>

		<field>
			<id>updatedByUser</id>
			<name>Updated By User</name>
			<relatedentityxpath>updatedByUser</relatedentityxpath>
			<xpath>username</xpath>
		</field>

		<field>
			<id>createdByUnit</id>
			<name>Created By Unit</name>
			<relatedentityxpath>createdByUnit</relatedentityxpath>
			<xpath>name</xpath>
		</field>

		<field>
			<id>updatedByUnit</id>
			<name>Updated By Unit</name>
			<relatedentityxpath>updatedByUnit</relatedentityxpath>
			<xpath>name</xpath>
		</field>

		<field>
			<id>createdDate</id>
			<name>Created Date</name>
			<xpath>createdDate</xpath>
		</field>

		<field>
			<id>updatedDate</id>
			<name>Updated Date</name>
			<xpath>updatedDate</xpath>
		</field>

	</fields>

</entityfieldconfig>
 
  • No labels