Making ID property editable in BCC- Custom Repository
To make ID property editable in BCC, please follow below steps.
Step 1: Create Attribute with value "true".
<add-item item-descriptor="attributeValue" id="MYAvAddrsEditId">
<set-property name="value"><![CDATA[true]]></set-property>
</add-item>
Step 2: Update the existing ItemMapping, else create new.
<update-item item-descriptor="itemMapping" id="MYImAddress">
<set-property name="attributes"><![CDATA[showCreationId=MYAvAddrsEditId]]></set-property>
</update-item>
OR
<add-item item-descriptor="itemMapping" id="MYImAddress">
<set-property name="name"><![CDATA[AssetManager]]></set-property>
<set-property name="description"><![CDATA[AssetManager Address itemMapping]]></set-property>
<set-property name="mode"><![CDATA[AmMmDef]]></set-property>
<set-property name="itemPath"><![CDATA[/my/Address]]></set-property>
<set-property name="itemName"><![CDATA[address]]></set-property>
<set-property name="formHandler"><![CDATA[AmFhDef]]></set-property>
<set-property name="attributes"><![CDATA[showCreationId=MYAvAddrsEditId]]></set-property>
</add-item>
Id Editable |