all that was mentioned by Mike are valid tips and should be deferentially checked and considered
other thing I would check which may have a huge performance impact is the way You query items from SharePoint. Using SPQuery and GetItems() method is not the best way. First of all it does not provide any caching and returns SPListItem objects that have all ...
It's by default that user cannot view the files in the folders or libraries if they don't have permissions to these files.
Get all the file links and display in the page is the workaround for this requirement.
I think you need to break the inheritance on the particular file and grant the access to set of people on that file.
Note: You can create one group and grant the permission to it on files and keep adding new users to whom you want to grant the access on files in that group.
I think you are facing the problem, the library what you have deleted still shows up in my home page last library visited dashboard, if this is the scenario we can get rid of this by cleaning the first and second level of recycle bin from SharePoint online
Go to the "RecycleBin.aspx" page by following the below navigation, there you will find your library, ...
I've faced a similar scenario myself; I used document sets (yet more info here) to create a document set and a handful of sub-folders. It sounds rather similar to what you are doing.
In a nutshell: editing a List item then triggers a workflow to create a document set (and sub-folders) in a Document Library.
Here's my post which makes use of Cameron Dwyer'...
Several things to try:
Instead of foreach loops, switch them out for 'for' loops, they have been proven to be faster: https://www.c-sharpcorner.com/article/for-vs-foreach-in-c-sharp/
I'd look into concatenation of string more efficiently: https://stackoverflow.com/questions/21078/most-efficient-way-to-concatenate-strings
I'd replace all instances of ...
There is another approach using MS stream. You can upload the video to stream and use the link to video or embed the video to your modern page.
I tested with it and it seems Chrome still has some issue with it. Edge works perfect. You may be better to open a service request about this issue.
You can try the below steps, it is working in chrome, Mozilla and IE.
Show a selected YouTube video
Using this connection we can display the selected video in the “Embed” web part. To do this follow the below steps:
Add the below two web parts as like above image web part:
List web part and choose the list “Test Video List”
Add an Embed webpart.
Step 1 ...
I can reproduce your issue. The list column filter cannot work after apply the metadata navigation filter.
As a workaround, we can edit the page and edit the list view web part, then tick "Server Render" under Miscellaneous section as below:
If you want to show toolbar, you can edit the toolbar type:
Are you certain you can get it to work by changing "." to "_" or changing to "_DD.MM"?
“_MM.DD” or “_DD.MM” should be identified as the same format by SharePoint. Only ISO 8601-compatible datetime formats are supported in queries, such as “YYYY-MM-DD”.
Per my test, what is returned in the search result is based on what keyword you have used.
I can reproduce the same issue on my SharePoint Online library. I think column formatting is not supported for this column yet (Even when it is of type Person or Group).
I tried applying the JSON code from both library view and column settings but it not accepting the JSON while saving)
You can check the supported columns from below documentation:
Understand. If you upload only one new document, then Edit form is opened. User is able to edit metadata and by the button OK save the changes. But if there is a workflow on new item created, when user saves the changes, he gets error, because workflow made the changes instead.
If you want not to be the Edit form opened right after upload one document into ...
In the POST man tool select the binary option where it will allow to attach or browse any file - there you attach any excel file by browsing your local directory - then perform the POST operation to SharePoint, this will upload the document to the SharePoint library - then go to the code section of the POST man tool where we can all equivalent code for this ...
Ajax call listed below works in case of file extension is xls. It doesn't work in case of xlsx.
I think there should be special syntax to create valid .xlsx file.
Probably this question isn't about headers but about creating valid .xlsx file.
var fileContent = 'aaa';
url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/...
The CAML Query as below.
<FieldRef Name='ManagedMetadata' /><Value Type='Text'>HFM</Value>
The following example PowerShell Script about getting file items ...
To create folders within a document library, you must enter the folder within the given ListInstance. Folders can be nested to create sub-folders.
<pnp:ListInstance Title="My Doc Lib">
<pnp:Folder Name="1. Admin" />
<pnp:Folder Name="2. SharePoint">
<pnp:Folder Name="2A. PnP Sub Folder" />
If this is just for reporting purpose we can go with out of the box Storage Metrics report:
Navigation: Site Actions >> Site Settings >> Storage Metrics
Storage metrics report
We can get SharePoint library size, ONLY when you have Quotas applied to the site collection. otherwise, you get "The storage space allocation page cannot be used for sites ...
Thanks a ton Ganesh. It worked.
I used the following:
Thank you again
Try using your REST API something like below:
siteUrl/_api/web/lists/getbytitle('Library Name')/items?$select=Title,FileLeafRef&$orderby=Modified desc&$top=5
Or if you want to get the files from specific folder then try using below:
siteUrl/_api/web/GetFolderByServerRelativeUrl('/sites/Site Name/Library Name/Folder Name')/Files?$select=FileLeafRef,...