Hello,
I have a flow that creates a document and was wondering if it was possible to copy this generated document by file ID? The Copy file funtion does not allow me to select the desired folder and ItemId, which is what I assume is the issue. I'm checking to see if it's possible to copy the automatically generated file to another folder/site using it's ItemId.
I have the following configuration for copying the file by Item ID:
Note that the Item ID is located in a folder https://xxxxx.sharepoint.com/FolderName. The Copy file function does not allow me to manually enter this path unfortunately.
But when testing the flow I get an error (due to the path not existing/cannot find the file by ItemID):
"status": 400,
"message": "Failed to verify the existence of source object at 'https://xxxxxxx.sharepoint.com/37' due to error 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'.\r\nclientRequestId: 8db0293c-5bd1-47e3-a229-225fc702cd6d\r\nserviceRequestId: 8db0293c-5bd1-47e3-a229-225fc702cd6d"
The path should be https://xxx.sharepoint.com/foldername/37 but I am unable to select/enter this in the copy function.
Any thoughts?
THanks!
Solved! Go to Solution.
Hello @eSant96 ,
do you have dynamic content 'Identifier' available? I think that's the one you need to use as that one is unique on the whole site and 'ItemId' is unique only in a specific library. And as you can see in the action itself, it doesn't ask you for a specific library, it asks only for Site and File to Copy = it needs the unique 'Identifier' of the file.
Hello @eSant96 ,
do you have dynamic content 'Identifier' available? I think that's the one you need to use as that one is unique on the whole site and 'ItemId' is unique only in a specific library. And as you can see in the action itself, it doesn't ask you for a specific library, it asks only for Site and File to Copy = it needs the unique 'Identifier' of the file.
Thank you Tom. This has resolved the issue. Appreciate the help!
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
88 | |
57 | |
40 | |
37 | |
29 |
User | Count |
---|---|
73 | |
66 | |
50 | |
47 | |
43 |