Description
The xml files that are located in the fields folder (/Crm/WebContent/metadata/fields) are xml 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 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.
...
Name | Description | Value |
---|
id | Unique Identifier | Any |
name | A name that describes the field | Any |
xpath | The xpath field name | Any |
relatedentityxpath | The name of the related entity as it's defined in data class of the main entity | Any |
...
|
codeEclipse | language | xml |
---|
title | Example |
---|
collapse | true |
---|
|
<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>
|