I have created a form that will be published in a public site (form library) and when submitted will be saved/stored in a private site (form library).
At the moment I am having issues as users cannot submit the form as it's writing back to a private site that they don't have permission to (please note that we do not want to give them permission to this).
As a workaround I thought maybe the user could submit the form to the public site (form library) and then have the following workflow occur: Item created > Copy to private library > delete file from public library.
I run into issues however as it says it's Failed to verify the existence of source object at ....
I've tried the following dynamic content options: Id, Name, File name with extension, Full Path, Link to item
The link to item seems like it would work however, when I use that dynamic content it duplicates the original location is the URL (e.g. https://www.sharepoint.com/site/https://www.sharepoint.com/site/file-extension.xml
Is there a way to not duplicate the URL so that it can locate the file?