Skip to main content
4 votes

How do you display the doc icon in a formatted view?

You can use predefined icons from Office UI Fabric. For details, see the Fabric website. Search the icon and copy friendly name, then use it in iconName attribute as shown below: My demo format: { ...
Julie_MSFT's user avatar
  • 4,237
4 votes
Accepted

Aspx page not opening in SharePoint online Modern Team site

If you put an ASPX file to a document library it will be downloaded when you click on it. So, instead of the document library, you need to put your ASPX page to a different location. For example: ...
Denis Molodtsov's user avatar
4 votes
Accepted

How can we hide New/Upload button in modern document library experience?

You have two options to hide New/Upload Manage permission for this library by breaking the inheritance and provide the user/group View Only Permission Level. Check the detail steps at Disable "...
Mohamed El-Qassas MVP's user avatar
3 votes

not able to revert back to the modern experience for Sharepoint list and libraries

Try clearing the local storage and cookie in your browser. If it does not help, open the browser console (F12) and run the script: document.cookie = "splnu = 1; path=/" Then, refresh the list view.
Dmitry Kozlov's user avatar
3 votes

How to programmatically pin a document to the top of a modern library

Create a yes/no column ("IsPinned") on the library and sort your view by that column. You don't need any code.
Derek Gusoff's user avatar
  • 8,036
3 votes

JSLink support for document libraries in the Modern UI

JSLink will not work, there are a few alternative options. However, you should carefully analyze your current JSLink business logic and compare available options in modern UI. If you have heavy ...
Sergei Sergeev's user avatar
2 votes
Accepted

Modern Libraries - Adding Locations to 'Move To' Selection

Yes, Move To is currently only available within the same document library. You can also move by dragging and dropping files to a sub-folder. Microsoft has earlier announced support for move across ...
Lars Fastrup's user avatar
  • 3,140
2 votes

SharePoint Online - Switch pages library back to modern view

I hunted the cookie down, found out how to delete cookies in javascript and put it all in a script-webpart: var delete_cookie = function(name) { document.cookie = name + '=; Path=/;expires=Thu, ...
Petter's user avatar
  • 21
2 votes

JSLink support for document libraries in the Modern UI

In SharePoint Online modern interface list/library view, the JSLINK will not work. We can use the column formatting to achieve the same requirement, the following official document for your reference:...
Ganesh Sanap - MVP's user avatar
2 votes

Aspx page not opening in SharePoint online Modern Team site

What’s the permission of the user? Make sure the user have "Add and Customize Pages permission" via checking permission in the site settings->site permissions->check permission. If the issue still ...
Hellofiona_MSFT's user avatar
2 votes
Accepted

Link between Document Library and SharePoint List

As Dikesh suggests, using the managed metadata column is a good choice. If your situation permits, you can actually create a look up column in the list (if the files associated with the list are all ...
Binggo_ MSFT's user avatar
2 votes
Accepted

Document library web-part cannot see document version history

As per my analysis, this is a known limitation of document library web-part in SharePoint Online Modern experience. I have seen the similar behavior in past. There are so many functionalities that ...
Ganesh Sanap - MVP's user avatar
1 vote

Document Library level search is giving error - Error code: -2147467259 in Modern SharePoint (Team Site)

I can reproduce your issue. The error is in response to the View setting of list. You unknowingly was attempting to have many Lookup columns in a single View. SharePoint Online limits the number of ...
EchoDu_MSFT's user avatar
  • 2,865
1 vote

Display "marked as final" status for a document in SharePoint Online document library view

You can try the following. I did a quick test and seems to work fine. Create a column of type 'Yes/No' and name the column '_MarkAsFinal' (exactly without quotes). Make the default value as 'No'. ...
sssreddy's user avatar
  • 4,473
1 vote

How do you display the doc icon in a formatted view?

Out of the box solution : Add the File Type metadata (system metadata) into the view, next to the file name column. Refer to the below article for example : 3 reasons you need File Type metadata ...
SP 2022's user avatar
  • 4,084
1 vote

In a document library, is there a way to include document views (visible in the information pane) as a column?

Per my knowledge, there is no similar feature to page viewed times in list view. You can post this idea in UserVoice for MS team to take a look at. For what we have now in SharePoint Online, we can ...
Jerry_MSFT's user avatar
  • 4,230
1 vote

Aspx page not opening in SharePoint online Modern Team site

This seems to be more difficult now (as of Nov 2021) but is still possible... I re-encountered this problem today (Nov 2021), I tried all the above solutions (and others) but could just not get the ...
Martin's user avatar
  • 161
1 vote
Accepted

How to restrict users to upload .pdf and .zip only in Modern SharePoint Online Site (Document Library)

This is not possible in SharePoint Online using OOTB capabilities of SharePoint. However there are some workaround to achieve this: Create an Event receiver to check the file type before uploading ...
Ganesh Sanap - MVP's user avatar
1 vote

How to create a modern subsite in a classic team sitecollection?

Although you can technically do it (create classic subsite and switch to modern experience) this is not recommended. Modern experience is designed with flat structure in mind and some feature (current ...
Marek Sarad's user avatar
  • 3,540
1 vote
Accepted

Expand search to all items in this site link refers to the old keyword in Communication Site

Per my test, it is by designer if we search for any other keyword in the document library and click on the link it still shows the search results for the old keyword. We need to refresh the page to ...
Lisa Chen MSFT's user avatar
1 vote

Modern Experience Upload-Metadata Problem

There is no OOTB way to deal with it. Required columns are completely ignored in the modern SharePoint UI. All we get is the visual indicators in the list View or a list item form. The only potential ...
Denis Molodtsov's user avatar
1 vote

Changing the URL of "Name" column in document library

I don't think it would be possible apply spfx extension on name field(certain other columns also) but it does work on FileLeafRef column. Ref link Column formatting could have been an option but ...
Siddharth Vaghasia's user avatar
1 vote

Customize Filter Icon and filter pane in a Modern Experience document library

You need to inject JS file using SPFx extension. https://www.sharepointpals.com/post/step-by-step-procedure-to-add-a-js-file-to-all-pages-in-a-spfx-modern-pages-using-sharepoint-framework-extension/ ...
Siddharth Vaghasia's user avatar
1 vote

How to programmatically pin a document to the top of a modern library

A colleague of mine was able to analyse the network traffic that happens, when a users clicks the "Pin to top" button and gave me the REST API call. As I am using PnP PowerShell I created a ...
Shihan's user avatar
  • 599
1 vote

SharePoint Online - Content Type Issue with Document Library in Modern Site

I can reproduce your issue, it’s the default behavior that it links to the page in SitePages library when we create a new page with site page as content type in the document library. As a workaround,...
Hellofiona_MSFT's user avatar
1 vote
Accepted

Customize Modern Document Library New Form

"Modern" lists and libraries do not support as many customization options as "classic" lists and libraries. Currently, it is not supported to customize the default New Form in modern library. ...
Kally's user avatar
  • 3,034
1 vote

Modern SharePoint online List/library theme not being updated when "Change the look"

I have the same issue on a site which wasn't migrated. So it has nothing to do with your migration. Try changing it to a different color, like red. That solved the problem for me.
Andreas's user avatar
  • 81
1 vote

Customizing SharePoint Modern Pages

Unfortunately as of this moment, you are stuck. The only thing that can work on "Modern" site pages is custom theme. If your site happens to use a custom theme, then this custom theme will be ...
Gautam Sheth's user avatar
  • 30.9k
1 vote

Customizing SharePoint Modern Pages

Customized Modern Pages? Yes At one client we installed the TamperMonkey (GreaseMonkey on FF) browser extension It pulls in scripts from our own CDN so we can inject our UX (all that CSR/JSLink stuff ...
Danny '365CSI' Engelman's user avatar
1 vote

Customizing SharePoint Modern Pages

You only think they're (modern libraries) horrible because you can't customize them like you want. They have a lot of great functionality built into them that makes file management and usability very ...
Eric Alexander's user avatar

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