Forum Discussion
Tamras1972
Feb 14, 2023Iron Contributor
Redirect links on Text web part
If a file is moved to another library or folder, is there a way to automatically redirect or update the links pointing to these files? For example, we have a Text web part with a link to a file. ...
- Feb 15, 2023I wrote a comprehensive blog post about this about 2 years ago. The guidance still applies: https://www.computerworld.com/article/3612244/what-you-need-to-know-about-linking-to-files-and-pages-in-sharepoint.html
SvenSieverding
Feb 15, 2023Bronze Contributor
HI Tamras1972 ,
you can also just click the three dots on a document and select "Share"
Now switch the Sharing mode from "People in <tenant> with the link can edit" or whatever to
select "People with existing Access".
Copy that link.
That link is also durable, so you will have access to that file even if you move the file to a different folder/document library in the same sitecollection.
The "People with existing Access" setting will not change permissions on file.
Best Regards,
Sven
Tamras1972
Feb 15, 2023Iron Contributor
Thanks. Yes, we are using the 'People with existing access' link but the issue is opening the link, via Text webpart, to a blank page after moving the file to another folder. I should have mentioned the links were to PDF files not Office files.