Versions Compared

Key

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

Description

This element is used to display a label on the user interfaceThe 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
name A name that describes the fieldAny
xpath The xpath field nameAny
relatedentityxpath Any

...

The name of the related entity as it's defined in data class of the main entityAny

Examples

Code Block
languagexml
<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>