Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 8068

Use a document library to store, organize, sync, and share documents with people. You can use co-authoring, versioning, and check out to work on documents together. With your documents in one place.

3 votes
Accepted

Associate Field Customizer with existing field using feature framework

It looks like a limitation of SPFx's feature framework's that you can't associate field customizer to existing OOTB fields. Reference - Highlighting which page is the welcome page in a site Having s …
Gautam Sheth's user avatar
1 vote
Accepted

Site Assets library still carries the 'No versioning' option

Yes, it is indeed possible. You can use Set-PnPList to change it to No versioning. Connect-PnPOnline -Url "https://tenant.sharepoint.com/sites/testSiteCollection" Set-PnPList -Identity "Site Assets" …
Gautam Sheth's user avatar
3 votes
Accepted

Folder Name not showing with powershell

The correct field value to use is FileLeafRef for folder names Modify your code as write-host $item["FileLeafRef"] should output the folder name
Gautam Sheth's user avatar
1 vote
Accepted

SP Online REST API Change the Content Type of a Document Library Item

As mentioned in comments, it needs to be ContentTypeId and not ContentTypeID where Id is in lowercase. So modify your line of code as below: szBody = "{ " & mconSzQt & "__metadata" & mconSzQt & ": { …
Gautam Sheth's user avatar
0 votes
Accepted

SP Online REST API Durable Document Link

It is present in the LinkingUrl property of the file in a document library. So, to get that value, you need to modify the endpoint as below: https://mysite.sharepoint.com/sites/mysite/_api/web/lists …
Gautam Sheth's user avatar
1 vote
Accepted

PNP js API document update issue

This is produced because of your browser's caching mechanism. If you open developer tools and disable the cache from network tab, this will not happen. Thankfully, we dont have to ask end-users to do …
Gautam Sheth's user avatar
2 votes
Accepted

SharePoint REST API Document Library - filter by folder name

The name of the folder is stored in the Name field i.e FileLeafRef field value. Also, to optimize the request, you should specify only the fields that you want using the $select param. So, you can f …
Gautam Sheth's user avatar
2 votes

Can i set the defualt view for my Document library inside modern experience to Tiles instead...

1) In your document library, click on the Tiles link and then again click on the Save view as which will open a popup. Enter a name like Tiles view which will then appear as below: Once it appear …
Gautam Sheth's user avatar
3 votes

REST API for adding metadata to folder

Finally got it to work using REST API. But it involves additional REST call. Below is the code to Create a folder, from that code we will call the get Folder method to get the folder's ID: function …
Gautam Sheth's user avatar
7 votes
Accepted

Create text file and upload it to document library using REST API with JavaScript

Yes, its possible. Try and modify the below code. Fill the content with data from your lists: var content = "Hello, this text is inside the file created with REST API"; var digest = $("#__REQUESTDIG …
Gautam Sheth's user avatar
2 votes
Accepted

Get recently uploaded documents in document library including files added to any folders usi...

You can use the below REST endpoint: http://<SERVER>/_api/web/lists/GetByTitle('Documents')/items? $filter=ContentType eq 'Document' &$select=Title,FileLeafRef,Created,EncodedAbsUrl &$orderby=Created …
Gautam Sheth's user avatar
1 vote
Accepted

Delete documents in a document library with pnp-js-core

You can use the recycle method of pnp-js. Try and modify the below code. It will send the document to recycle bin and gives you the guid of the recycle bin item. $pnp.sp.web.getFileByServerRelativeU …
Gautam Sheth's user avatar
2 votes

How to add metadata to a Modern Page?

This doesnt seem to be possible yet via the UI. However, based on this Customize "modern" site pages link, I was able to add metadata using CSOM C#. You can also modify the same code for PowerShell. …
Gautam Sheth's user avatar
3 votes

How to check file duplication in SP document library using REST API or jsom?

You can make use of the getfilebyserverrelativeurl to determine whether file exists or not. Try and modify the below code (using REST). Ensure that you are passing the server relative url of the file …
Gautam Sheth's user avatar
1 vote
Accepted

Filename length restrictions for SharePoint Online?

The character limit for file and folder names length is 400. As long you adhere to that limit, you will be fine. If it exceeds that, then you will receive error like file name too long and that file w …
Gautam Sheth's user avatar

15 30 50 per page