Forum Discussion
Eric Adler
Aug 10, 2016Steel Contributor
Getting Link to a Document with Modern Document Libraries
With the new "modern" document libraries UI it seems almost impossible to get a "normal" link. Meaning a link that is does not contain "guesttoken" and a GUID. But an old school URL with a readable p...
- Sep 09, 2016
There is a way to disable the 'Edit' and 'View' link feature. The only link that appears then is the restricted link.
Go to site settings -> Site permissions -> Access Request Settings -> Disable Allow members to share the site and individual files and folders.
This would prevent the breaking of permission.
Richard Duffy
Aug 25, 2016Copper Contributor
This is very annoying - i need to be able to insert links in emails and in other documents. You used to be able to get the URL to an item within a couple of clicks.
Eric Adler
Aug 25, 2016Steel Contributor
two ways i have found to get a real url (one that you can read the path)
Get A LInk Method
1. Click Get A Link
2. From Drop select "Restricted Link"
3 Click in box and copy
From Office
1. Open document in Office Client Program
2. Click File
3. Click on path and select "Copy Path"
Caveat is that the url will have the query sting web=1 which i like to remove.
There was an annoucement in the admin messages on August 15th saying that the "Get A Link" feature will soon default to the Restricted link which will save a click and the creation of unneeded guestaccess links.
Here is the article on the update
- Bernd VerhofstadtSep 09, 2016Iron Contributor
There is a way to disable the 'Edit' and 'View' link feature. The only link that appears then is the restricted link.
Go to site settings -> Site permissions -> Access Request Settings -> Disable Allow members to share the site and individual files and folders.
This would prevent the breaking of permission.
- Gregory FrickSep 09, 2016Steel Contributor
Excellent point Bernd Verhofstadt ! The default Access Request settings are a surprise to most users. When I provision a site collection I include a link to a document explaining these settings. I also noticed that at some point MSFT improved the External Sharing Dialog screens in the Admin Center. The dialog now includes a link that turns off sharing for non-owners. This dialog also contains a 'Learn more' link that is well written. I will attach a screen snip for readers who are interested. External Sharing Setting in the Admin Center
- Eric AdlerSep 09, 2016Steel Contributor
That is excellent!! Anyone have a PowerShell Script for this setting?
- Bernd VerhofstadtSep 12, 2016Iron Contributor
Eric Adler the following link is including the right powershell commands.
https://blogs.msdn.microsoft.com/chandru/2015/12/31/sharepoint-onlinecsom-change-access-requests-settings/
I prefere to do this on site level. When I changed the settings on tenant (site collection) level, the results where not the same as disabling this setting on (sub)site level.
- Aug 29, 2016
Anyone know which version the link doesn't cause the permissions for the doc to immediately change?
I really don't understand why the "get a link" feature causes the permissions inheritance for the document to be changed. As noted earlier in the thread, what people want to do is to get a URL for a doc to be able to send to somone else. In most cases they don't need or even want it to expire and they most certainly don't want (or even know) that "getting a link" also means "get a link and change the permissions on the doc".
- Eric AdlerAug 30, 2016Steel Contributor
The "Restricted Link" is the only one that doesn't change permissions.
The out of the box setting is for an Edit link to be created by default. You can change that to the "Direct" link (Restricted) in SharePoint Admin > Sharing
note: updated - the setting should be Direct not Internal as previously posted.
as seen here:
This setting saves a lot of permissions headaches.
- Aug 30, 2016
I checked and our tenant settings are to "internal" - but when I choose Get a Link, the "Edit Link" the default and I believe immediately breaks the permissions inheritance. If I subsequently choose the View Link or Restricted Link options the doc inheritance is still broken.