You are here:
List Item
List items are visible entities in a list in the app's user interface. You can edit and save the values of a list item by using the methods provided by its respective list object.
Required Editions
| Available in: Enterprise, Performance, and Unlimited Editions |
Every list item must have one simple property with pKey attribute. This simple property must
use pKeyas name value and DomPKey as the domain value, pkey as the
database field id, and id set to true. This simple property definition is the unique
identifier of the list item. There must only exist one attribute with the id attribute set to
true.
<SimpleProperty id="true" name="pKey" type="DomPKey" dataSourceProperty="pKey" />
A list item consists of one or more simple properties that you can define by using this XML code.
<ListItem name="LiMyBpaMED">
<SimpleProperties>
<SimpleProperty id="true" name="pKey" type="DomPKey" dataSourceProperty="pKey" />
<SimpleProperty name="name" type="DomBpaName" dataSourceProperty="name" />
<SimpleProperty name="customerId" type="DomId" dataSourceProperty="customerId" />
<SimpleProperty name="mainAddress" type="DomText" dataSourceProperty="mainAddress" />
<SimpleProperty name="street" type="DomText" dataSourceProperty="street" />
<SimpleProperty name="zipCode" type="DomText" dataSourceProperty="zipCode" />
<SimpleProperty name="city" type="DomText" dataSourceProperty="city" />
<SimpleProperty name="countryState" type="DomText" dataSourceProperty="countryState" />
<SimpleProperty name="prio" type="DomText" dataSourceProperty="prio" />
<SimpleProperty name="classOfTrade" type="DomText" dataSourceProperty="classOfTrade" />
<SimpleProperty name="tradeOrg" type="DomText" dataSourceProperty="tradeOrg" />
<SimpleProperty name="tradeOrgPKey" type="DomText" dataSourceProperty="tradeOrgPKey" />
<SimpleProperty name="grouping1" type="DomText" dataSourceProperty="grouping1" />
<SimpleProperty name="substitutedUsrPKey" type="DomPKey" dataSourceProperty="substitutedUsrPKey" />
<SimpleProperty name="subValidFrom" type="DomDate" dataSourceProperty="subValidFrom" />
<SimpleProperty name="subValidThru" type="DomValidThru" dataSourceProperty="subValidThru" />
<SimpleProperty name="substituted" type="DomBool" dataSourceProperty="isSubstituted" />
<SimpleProperty name="managed" type="DomBool" dataSourceProperty="managed" />
</SimpleProperties>
<NestedListObjects>
<ListObject name="nestedLO" objectClass="LoNestedList" />
</NestedListObjects>
</ListItem>
Did this article solve your issue?
Let us know so we can improve!

