
Announcements
Hi All,
I have built a Flow that writes the content of the ID column of a document library into a "single line of text" column "when a file is created (properties only)" in a (controlled) documents library on sharepoint online. I need to have the ID to create a unique document code, but the ID column itself can not be referenced from a calculated column (which is very annoying). The flow performs as expected if I throw a document into the library, but fails whenever someone else does it. The error says, that the action can not be performed because the file is checked out to someone else. Does anybody have a clue what to do?
Regards
Till
Hello @MSTill
Did you find a solution to your need or is the need still relevant?
My guess would be that when someone else throws a document into the library and your flow runs, the flow is using your credentials for the connections, thus it will appear to be you who wants to update the document, but the original user has not managed to checkin the document yet.
SharePoint do have a builtin feature to create unique document codes, a Document ID, for the whole site. Have you tried to look into that?
Let us know how it went
Kind regards, John