Hi,
I'm trying to create a flow that when a file is added to a folder on a SharePoint site it automatically creates a shortcut in another folder on the same SharePoint site due to needing duplicates across folders but having a data limitation set by my organisation.
I'm trying to create a flow for that that does the following steps:
- When a file is created/added in specified folder
- A new item is created (shortcut link) that has the same filename as the original (ending .URL is also fine).
I've managed to make a URL but it isn't linking correctly to the original document.
My flow is as follows:
When a file is created
Site address and folder id is fine as picked from lists
Create file
Again site address and folder path is fine.
File name: replace(triggerOutputs ()['headers']['x-ms-filename'], '.'))),'')
File content: x-ms-file-path-encoded
I'm new to this so I wouldn't be surprised if I have gone about this the wrong way. But using the share link doesn't lead to what I am looking to do and this doesn't seem to be a request that I can see anyone else has made. Any help would be appreciated