Forum Discussion
4 Replies
- Yoann_MaingonAccelerator IWhenever you do such operation, try it first with AML studio. You would see that you are not getting any result when you delete an item. But you get the deleted id in a message tag. here is an example :
<AML> <Item action="delete" type="part" id="1902B6379D924AF19E848B6BB54D07B0" > </Item> </AML> <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../"> <SOAP-ENV:Body> <Result /> <Message> <event name="ids_modified" value="1902B6379D924AF19E848B6BB54D07B0|06FD6F766E6048EC9DA74F4B7833F13A" /> </Message> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
- R_Creator Ihow to get id present in message tag
- R_Creator Imy itemtype is versionable for itemtype which is not versionable , i am able to get id but not for versionable item
- Yoann_MaingonAccelerator Iyou could save a requeststate onBeforeDelete
RequestState.Add("deletedId", "9793Y99DH39FHYD9J3D39J3D");and read it on afterDelete :string deletedId= (string)RequestState[“deletedId”];
Make sure you delete this value thenRequestState.Remove("deletedId") RequestState.Clear()