<!-- SOAP_ACTION = EditItem, ApplyAML, or ApplyItem -->
<Item action='edit' type='' id=''>
<property>value</property>
</Item>
| Attribute |
Type |
Usage |
version |
Boolean |
If 0 then don't version an Item on update. Default is 1, which is version the Item (if it's a versionable Item) on update. |
serverEvents |
Boolean |
If 0 then disable the server events improving performance. Default is 1. Only Update events are disabled, Lock events can be executed if using Edit. |
unlock |
Boolean |
If 1, then unlock the item after the update. |
When editing an automatically versioning item in Aras 9.3 (followed by a save/unlock/close), the pipeline appears to be
| Event |
Context |
Notes |
| onBeforeLock |
<Item action='lock' id='OLD'>
<property>value</property>
</Item> |
Context = old version |
| onAfterLock |
<Item action='lock' id='OLD'>
<property>value</property>
</Item> |
Context = old version |
| onBeforeVersion |
<Item action='version' id='OLD' loadedPartialy="0"
isDirty="1" LastModifiedOn="1389988191000"
doGetItem="1" version_do_unlock="0">
<property>new user values</property>
</Item> |
Context = old version metadata with new version user data |
| onAfterVersion |
<Item action='version' id='OLD'>
<property>new user values</property>
</Item> |
Context = old version |
| onBeforeUpdate |
<Item id='NEW'>
<property>new user values</property>
</Item> |
Context = new version |
| GetKeyedName |
<Item id='NEW'>
<property>new user values</property>
</Item> |
Context = new version |
| onAfterUpdate |
<Item id='NEW'>
<property>new user values</property>
</Item> |
Context = new version |
| onBeforeUnlock |
<Item id='OLD'>
<property>value</property>
</Item> |
Context = old version |
| onAfterUnlock |
<Item id='OLD'>
<property>value</property>
</Item> |
Context = old version |
| onBeforeUnlock |
<Item id='NEW' action="unlock">
<!-- no property data -->
</Item> |
Context = new version |
| onAfterUnlock |
<Item id='NEW' action="unlock">
<!-- no property data -->
</Item> |
Context = new version |