Undeclare the specified list item as a record
command: spo listitem record undeclare -u|--webUrl <webUrl> -i|--id <id> -l|--listId [listId] -t|--listTitle [listTitle]
For more information see: https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/clear-pnplistitemasrecord?view=sharepoint-ps
Hey @waldekmastykarz is date required to undeclare an item already declared as a record? Also in the description it's mentioned id: The ID of the list item to declare as record. Am I missing something? Please assign this to me.
You're right, the date doesn't belong here. Good catch. Other than that, all yours! 馃憦
Thank you
@waldekmastykarz I tested the api _api/SP_CompliancePolicy_SPPolicyStoreProxy_UnlockRecordItem in Postman and it is throwing -1, System.NotSupportedException Flight not enabled error, not sure why this is. Does it mean this api is not functional and we have to use _vti_bin/client.svc/ProcessQuery and do this action the old way?
I'm not sure if the API you mentioned is the same as what's being used by the PnP PowerShell cmdlet. If we can't verify that it's doing the same, then let's use CSOM instead for now. 馃憤
Sure, thanks @waldekmastykarz !
Hey @waldekmastykarz just an update, I am still working on this and it is working functionality wise. Just a bit slow getting the spec file ready. Hope it's okay was a crazy week :)
No problem and no rush. Take your time 馃憤