Forum Discussion
Hi
In Change item is equivalent to released item. So, only admin & root has access to edit.
You have to use below AML to update description.
<AML>
<Item type="Document" action= "edit" id="68FDC33766674A2F9E1A34CBC77F3516">
<name></name>
</Item>
</AML>
Thanks
Gopikrishnan R
- dkinsley6 years agoCreator II
Gopikrishnan,
Thank you for your reply. I am the admin but the document does not allow me to lock it. I used the AML code you provided but it did not lock the document.
<AML>
<Item type="Document" action= "edit" id="68FDC33766674A2F9E1A34CBC77F3516">
<name>"ACCEPTANCE TEST PROCEDURES"</name>
</Item>
</AML>2020-04-28 12:36:24 [Query] [Result] > 0 item(s) found in 16 ms
<SOAP-ENV:Envelope
1<SOAP-ENV:Envelope2xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
3<SOAP-ENV:Body>4<Result />
5</SOAP-ENV:Body>6</SOAP-ENV:Envelope> - dkinsley6 years agoCreator II
I logged into AML as admin - I get a fault string saying this is not the latest version - i know that but i still want to lock it.
<AML>
<Item type="Document" action= "lock" id="68FDC33766674A2F9E1A34CBC77F3516">
</Item>
</AML>2020-04-28 12:36:24 [Query] [Result] > 0 item(s) found in 16 ms
<faultstring>The version of the Item you are trying to lock is not current. Please lock the current version.</faultstring>
1<SOAP-ENV:Envelope2xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../"
3xmlns:i18n="">http://www.aras.com/I18N">
4<SOAP-ENV:Body>5<SOAP-ENV:Fault>6<faultcode>1</faultcode>
7<faultactor />
8<faultstring>The version of the Item you are trying to lock is not current. Please lock the current version.</faultstring>
9</SOAP-ENV:Fault>10</SOAP-ENV:Body>11</SOAP-ENV:Envelope>- Gopikrishnan6 years agoAccelerator II
Yes, you cannot able to lock the In Change item but AML query what I provided should work. Can you check the permission of the inchange part in UI ?
Check which identity has update access and add your account / admin into that identity
- dkinsley6 years agoCreator II
I have an older version of Innovator. I looked at the life cycle for IN Change and there is no permissions listed.
When I use what you provided in AML (when logged in as admin), I get this...
<AML>
<Item type="Document" action= "edit" id="68FDC33766674A2F9E1A34CBC77F3516">
<name></name>
</Item>
</AML>2020-04-28 18:10:37 [Query] [Result] > 0 item(s) found in 12 ms
xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
1<SOAP-ENV:Envelope2xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
3<SOAP-ENV:Body>4<Result />
5</SOAP-ENV:Body>6</SOAP-ENV:Envelope>