Hi ,
I am Using "Update Document Metadata Operation" to Updates metadata for the specified document. But facing below error.
" SharePoint returned a 404 HTTP error
SharePoint returned the following error code: -2130575338, Microsoft.SharePoint.SPException The file /sites/DCT_SharePoint_Integration/Claims/CapacityForm/[Document:200681] does not exist."
PFB Screeshot. Please suggest the solution to the issue
Thanks
Discussion posts and replies are publicly visible
At the end of the URL you see "[Document:200681]" this is Appian default behavior for turning a document into a string. You will probably want to change this using the function document().
Tried this. But still the same error
Tried what?
I do not know how SharePoint references a document. If its is "<name>.<extension>" then you can create that using the document() function.
SharePoint References document as "Documentname.extension".
I tried converting values to document as follows "todocument(ri!varDoc)" under Document tag . But still faced with same error
https://docs.appian.com/suite/help/21.2/fnc_scripting_document.html
todocument() is used to convert the internal ID of a document from numeric or string into a document type. You rule input already is of type document.
document(ri!varDoc, "name") & "." & document(ri!varDoc, "extension")
Thank you . It Worked now!
Hello, I am trying to use this Update Document Metadata operation, could you tell me how you did it? Thanks a lot