Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes
Accepted

Specific custom made SharePoint permissions to read only and save as a copy online

Unfortunately, Save as - Save a copy online option is available only if you have Edit permissions on the files (default behavior in SharePoint). Workaround: If you want to allow users to create a ...
Ganesh Sanap - MVP's user avatar
2 votes
Accepted

Can we allow users to rename files but prevent them from deleting those files inside SharePoint online

Unfortunately, this is a default behavior in SharePoint. You need Delete permissions on items/files if you want to rename those. This behavior corresponds to user's experience on Windows file servers ...
Ganesh Sanap - MVP's user avatar
2 votes
Accepted

Inheriting metadata upward?

Upward metadata inheritance is not possible automatically using the SharePoint Online out of the box features. Here are few options you can try: Update folder metadata manually: You cannot update the ...
Ganesh Sanap - MVP's user avatar
2 votes
Accepted

SharePoint check in error

The moment you have required properties, the checkin mechanism will start to kick in. You can upload a document but if the required property is not filled-in, it will be uploaded as a checkedout draft ...
Tiago Duarte's user avatar
  • 5,477
2 votes
Accepted

Break role inheritance for a specific folder

You have to use the Set-PnPFolderPermission PnP PowerShell command instead of Set-PnPListItemPermission. Example: Set-PnPFolderPermission -List 'Shared Documents' -Identity 'Shared Documents/Folder' -...
Ganesh Sanap - MVP's user avatar
2 votes
Accepted

SharePoint Online Library - Modify Choice column value without Edit in Grid View

You can use SharePoint JSON column formatting for your requirements. You will have to add below line for your main (outer most) elmType in JSON: "inlineEditField": "@currentField", ...
Ganesh Sanap - MVP's user avatar
2 votes
Accepted

Create subfolders when a new folder is created

Here is the working flow I just created and tested: Run history output: Document library output - created folders: Flow Details: Trigger conditions: I have added similar trigger conditions you have ...
Ganesh Sanap - MVP's user avatar
1 vote

JSON formatting for downloading documents but only viewing folders

You can hide the download button for folders using the "Content Type" column in the SharePoint document library. Example: { "$schema": "https://developer.microsoft.com/...
Ganesh Sanap - MVP's user avatar
1 vote

Get-PnPProperty -ClientObject with "invalid ID"

Try using this PnP PowerShell snippet with Get-PnPFileVersion cmdlet: # Connect to SharePoint Online site Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/mysite" -Interactive # ...
Ganesh Sanap - MVP's user avatar
1 vote

URLs in list become outdated when adjusting file name in site-content

The best practice is to enable the Document ID Service which is a site collection feature. With this feature, a unique identifier will be assigned to a document with a permanent link. So, if you move ...
jleture's user avatar
  • 962
1 vote

SharePoint check in error

Tiago has already provided a good answer, I would just add to it by saying you might have required columns, perhaps hidden from view, which are required (i.e. may not be left blank). To check this go ...
Tally's user avatar
  • 2,243
1 vote
Accepted

execution flow button in a SPO library

You can show/hide the JSON formatting button based on the file name using display property like: "display": "=if(endsWith([$FileLeafRef], '.zip'), 'block', 'none')", Full example: ...
Ganesh Sanap - MVP's user avatar
1 vote

Column Formatter using (File) Name field

I am able to reproduce this issue on our SharePoint site. Here are the results: I am unable to see the Format this column option to SharePoint default "Title" column in the document library ...
Ganesh Sanap - MVP's user avatar
1 vote

Deleted permissions for owners on Sharepoint site

Yes, it is possible to grant you the owner access on SharePoint site or document library using the Site Collection Administrator (SCA) account. User the Site Collection Administrator (SCA) access on ...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

Can i get content OR download file by GUID?

If you want to get file using SharePoint API calls only, try using API call like: <siteUrl>/_api/web/GetFileById('<file unique id>') Reference: Working with document Libraries based on ...
Ganesh Sanap - MVP's user avatar
1 vote

Define a custom content type for a Folder inside a document library will be ignored when creating a folder using One Drive inside my PC

The custom content type only can be used in the SharePoint Online. It's by design, in the local pc, users could only create default folders.
Emily Du - MSFT's user avatar
1 vote
Accepted

Is it possible to disable the file activity in a document library?

Unfortunately, No. Currently there is no SharePoint out of the box option or setting available to deactivate the file activity section in document library details pane. If you want Microsoft to ...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

Removing user from viewing a folder who has access from another Group

If "Project Manager" group has access to "YouHaveNoAccess" folder, you cannot exclude particular group member (John) from this folder. You will have to remove "Project Manager&...
Ganesh Sanap - MVP's user avatar
1 vote

Is there a way to create a filter in view to display only the 'New Item' in a library?

I'm not sure what SharePoint uses to display that "new item" icon. But you could create a view with a filter on the created column and set it to "is greater or equal to" "[...
Andri Bjorn's user avatar
1 vote

Bulk sending files on SharePoint Online + prevent from downloading

You are correct, currently there are no SharePoint out of the box solutions available for selecting more than one file and share those with other users. Check below suggestions: If you want to share ...
Ganesh Sanap - MVP's user avatar
1 vote

Requirements for coauthoring in SharePoint 2019

you can also read this article about what you need to co-author a document: Document collaboration and co-authoring
Karley Zhou-MSFT's user avatar
1 vote
Accepted

Requirements for coauthoring in SharePoint 2019

Yes, SharePoint Server 2019 supports co-authoring. The exact requirements and setup details are too much for an answer in this site, though. Take a look at the Microsoft Documentation. This page is ...
teylyn's user avatar
  • 8,949
1 vote
Accepted

Create multiple hyperlinks in text column of library

You can achieve it using SharePoint online JSON formatting capabilities. You have to use the hyperlinks and it's display text in plain multiple lines of text column in this format: [Microsoft 365 &...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

Creating a Link to Filtered Document Library using JSON Column Formatting

By looking at the JSON you provided, you are searching the document library based on the Title column in the SharePoint list, similar to my answer given at: Filter a document library from a list And I ...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

Help with JSON code for SharePoint online document library

If you are using SharePoint default Description column added to document library, you will have to use correct internal name of this column which is _ExtendedDescription. You can get the internal name ...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

Display video description with JSON formatted gallery view

While using a SharePoint list/library column in JSON formatting, make sure below things: You have to use the internal name of your SharePoint list/library column. Get internal name by following this: ...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

Cannot Create Folder on Sharepoint Site

You are missing newFolder.Update() line before ctx.ExecuteQuery. Try below code. It should work: public static ListItem SharepointCreateNewFolder(string Uri, AuthenticationResult authResult, string ...
Kalpesh Vaghela's user avatar
1 vote
Accepted

Can we default the filter pane to be turned in SharePoint Online?

You can now display the Filters Pane by default. Go to your view, open the Filters Pane and pin your filters. Then select "Save view as" and it will keep the Filters Pane showing as part of ...
Sarah M's user avatar
  • 26
1 vote

Retrieving files from sharepoint returns empty value array

I had the same issue when I used "siteAbsoluteUrl". let siteUrl = _spPageContextInfo.siteAbsoluteUrl; let url = siteUrl + "/_api/web/getFolderByServerRelativeUrl('<relative path to ...
Milan's user avatar
  • 21
1 vote

How to hide "Share", "Copy Link", "Copy to" buttons in my site?

You can now hide command bar options (at the top) from list/library using SharePoint JSON view formatting. Use JSON like below in view formatting to hide "Power Apps" option: { "...
Ganesh Sanap - MVP's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible