Versions Compared

Key

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

...

Attributes

NameDescriptionValue

id

Unique Identifier.

Any
nameA name that describes the main field/field/collection.Any
xpathThe xpath main field/field/collection name.Any
relatedentityxpath  
method  
tag  
csrexcluded true or false
plarexcluded true or false
acrexcluded true or false
mainfield

The main field of the entity.

Any field of the entity
fieldsfieldAn entity field.Any field of the entity
collectionscollectionAn entity collection.Any collection of the entity
sql  

Example

Expand
titleMetadata Fields
Code Block
themeEclipse
languagexml
titleMetadata Fields
<entityfieldconfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/fields.xsd">
	<mainfield>
		<id>number</id>
		<name>Number</name>
		<xpath>number</xpath>
		<tag>accounts_receivable.number</tag>
		<csrexcluded>true</csrexcluded>
		<plarexcluded>true</plarexcluded>
		<acrexcluded>true</acrexcluded>
	</mainfield>
		
	<fields>
		<field>
			<id>name</id>
			<name>Name</name>
			<xpath>name</xpath>
			<tag>accounts_receivable.name</tag>
			<csrexcluded>true</csrexcluded>
			<plarexcluded>true</plarexcluded>
			<acrexcluded>true</acrexcluded>
		</field>
 
		...
 
	</fields>
 
	<collections>
		<collection>
			<id>subscriptions</id>
			<name>Account subscriptions</name>
			<relatedentityxpath></relatedentityxpath>
			<xpath>subscriptions</xpath>
			<tag>accounts_receivable.subscription</tag>
			<csrexcluded>true</csrexcluded>
			<plarexcluded>true</plarexcluded>
			<acrexcluded>true</acrexcluded>
			<method>
				<ejbname>CRMUIAccountReceivable</ejbname>
				<methodname>loadSubscriptionsTab</methodname>
				<parameters>
					<parameter>
						<xpath>[DTO]</xpath>
					</parameter>
				</parameters>
			</method>
			<mainfield>
				<id>number</id>
				<name>Subscription Number</name>
				<relatedentityxpath></relatedentityxpath>
				<xpath>number</xpath>
				<tag>accounts_receivable.subscription.number</tag>
			</mainfield>
			<fields>
				<field>
					<id>type</id>
					<name>Type</name>
					<relatedentityxpath>type</relatedentityxpath>
					<xpath>name</xpath>
					<tag>accounts_receivable.subscription.type</tag>
				</field>
				
				...
 
			</collection>
	</collections>
</entityfieldconfig>

Main Field

NameDescriptionValue

id

Unique Identifier.

Any
nameA name that describes the main field.Any
xpathThe xpath main field name.Any
tag  
csrexcluded true or false
plarexcluded true or false
acrexcluded true or false

Example

Expand
titleMain Field
Code Block
themeEclipse
languagexml
titleMain Field
<mainfield>
	<id>number</id>
	<name>Number</name>
	<xpath>number</xpath>
	<tag>accounts_receivable.number</tag>
	<csrexcluded>true</csrexcluded>
	<plarexcluded>true</plarexcluded>
	<acrexcluded>true</acrexcluded>
</mainfield>

 

 

 

 

 

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>