File open in "View" (read-only) regardless of the permission

mike 1 Reputation point
2022-01-28T10:55:05.957+00:00

Good day

On a Share Point site we use "Quick Links" which link to files in a document library using "Durable link".
https://answers.microsoft.com/en-us/msoffice/forum/all/how-do-i-create-a-durable-link-in-sharepoint/6bdde11c-7a2e-42ec-a1e3-92e2f6c4f639

169318-image.png

Now we want the file to open in "View" (read-only) regardless of the permission. So that the file cannot be accidentally edited by users with edit permissions.

169388-image.png

Thanks & greetings Mike

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,078 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Elsie Lu_MSFT 9,781 Reputation points
    2022-01-31T02:06:01.333+00:00

    Hi @mike , welcome to Q&A forum!

    Usually users with Edit permissions can edit files, if you don't want users to be able to edit files at will, I suggest you consider using the "Check out" feature.

    When you check out a file from a SharePoint document library, only you can edit it. You can edit the file either online in Microsoft 365 or offline and save your changes as often as you like before checking the file back in. Once you're done making changes to the file, check it in from the library to upload your changes. You can discard your changes and undo the check-out if you change your mind.

    For more information you could refer to:
    Check out or check in files in a document library

    ===========================================

    In my end it works well:

    I use Quick link web part in a page and when I try to edit a file which is checked out by another account (full control):
    169712-48.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. mike 1 Reputation point
    2022-02-04T13:24:19.98+00:00

    Hello ElsieLu-MSFT

    Sorry for my late reply.

    Thanks for the approach. I need to elaborate a bit again.

    Basically we use two SharePoint sites
    a) Document library as a working filer, where collaborative work on documents is done.
    b) Document library to SharePointSite "training platform" to the outside.

    In the work folder (a), collaborative work is done on documents.
    Certain documents are shared with a large group of users on a SharePoint page "Training platform" (b).
    The documents concerned are always finalized in a and then transferred to b.

    Basically, only a very small group of users has "editing rights" on b). The large user group can only "read".
    Now it is however also in such a way that also the small user circle which has "editing rights" consults occasionally these published documents (b).

    Problem: It happens that accidental changes are made. Therefore, an open as viewing would be sufficient for us in principle, since this circle of users is sensitized and so it would be ensured that the documents are inadvertently changed. As described above, the documents are revised in the workfiler as needed.

    "Check out" solution approach: Now to the proposed check-out function. Basically, this fulfills the requirement except for one point.

    • Can a checked out file (b) be replaced by a file from the workfiler (a) and then be checked in again? So far I have uploaded the files, with the same file name or overwritten them in the explorer, which now no longer works. This also not if the file to be replaced was previously checked out by me.
    • If not, is there still another approach?

    Now I hope that this was understandable.

    Thanks & greetings Mike