Hello,
I am attempting to unlock an item when an user has the item locked out for editing and cannot seem to find where to start.
I am doing it on the server side with C#. I have tried Item unlockItem(). Also I have tried AML below.
string my_aml_unlock = "<AML><Item type='smc_TechInquiry' id='" + idNumber + "' action='unlock' /></AML>";
Item result_unlock = inn.applyAML(my_aml_unlock);
if(result_unlock.isError()) {return inn.newError("result_unlock Error: " + result_unlock.getErrorDetail());}
Basically I am trying to re-create what happens when a user is working on an item, then an admin locks their item (takes it away) then once they try to click, save, discard, etc it puts them into a core lock state.
I understand if I get this to work correctly I will be giving the user that had it locked a core lock ever. Any help is appreciated, thank you!