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

The SharePoint Framework (SPFx) is a page and part model that enables client-side development for building SharePoint experiences. It facilitates easy integration with the SharePoint data, and provides support for open source tooling development.

5 votes
Accepted

Send an email with SPHttpClient

You need to add an additional header, odata-version and set it to 3. This error happens because SPFx's built-in SPHttpClient uses the odata-version header whose value is set to 4. So, simply chang …
Gautam Sheth's user avatar
4 votes
Accepted

Create document set with REST API in SharePoint Framework

You need to make 2 HTTP requests to get it working. 1st request will get the content type Id of the document set content type present in the SharePoint document library. 2nd will make use of the con …
Gautam Sheth's user avatar
1 vote

Can i restrict a App (which is deployed to our app catalog) from being added inside certain ...

You need to use Site collection app catalog for this capability. Currently, when you upload the app it gets uploaded to the tenant app catalog. Once, you enable the site collection app catalog featu …
Gautam Sheth's user avatar
4 votes
Accepted

How do i get current aspx sitepage with SPFx

It is available in the context info object itself in the serverRequestPath property. In your code, you can consume it as below: var currentPageUrl = this.context.pageContext.site.serverRequestPath; …
Gautam Sheth's user avatar
0 votes
Accepted

Adding a custom view to a list doesn't add all columns (Using PnP in Sharepoint Framework)

This is something that is unique to SharePoint list views and not in a good way unfortunately. Even I learnt it when I tried your code. To add columns to the list views, they need to be done one afte …
Gautam Sheth's user avatar
6 votes
Accepted

Script to add SPFx webpart to a classic page using PnP Powershell

You can follow the below mentioned steps and after that you will be able to add your webpart to a classic page. 1) Go to your SharePoint workbench page (i.e https://tenant.sharepoint.com/sites/test/_ …
Gautam Sheth's user avatar
1 vote

Angular 6 and Sharepoint SPFX

Besides the link mentioned in comments, you can also checkout the Angular Elements - hello world webpart which uses Angular 6 and SPFx. It is based on Angular Elements functionality which packages An …
Gautam Sheth's user avatar
4 votes
Accepted

Restrict audience for SharePoint Framework Solutions

You can restrict it to individual site collections by using the Site Collection app catalog which will ensure that SPFx webparts are only available in that specific site collection Target audiences i …
Gautam Sheth's user avatar
4 votes
Accepted

Close propertyPane in sharepoint framework

Yeah, no good option available right now to close the property pane via API. But then you can use document.querySelector to find the close button element and then programmatically trigger the click e …
Gautam Sheth's user avatar
2 votes
Accepted

Set Userfield to allow Multiple using pnp in SharePoint Framework

You need to modify {"mult":true} to {"AllowMultipleValues":true}. So, your code will be as below: pnp.sp.web.lists.getByTitle("PollAnswers").fields. addUser("Users", FieldUserSelectionMode.PeopleOnl …
Gautam Sheth's user avatar
2 votes

How to sort a sharepoint list according to average rating column in react js?

The average rating of a column is stored in a list column whose internal name is AverageRating. However, to sort on that column we need to make a POST request with a CAML query as it can't be ordered …
Gautam Sheth's user avatar
0 votes

Error implementing custom SPfx App

This looks to be an issue related to webpart localization. In your nl-nl.js file, ensure that you have added the entries that exactly match the mystrings.d.ts interface entries. Also, to debug you …
Gautam Sheth's user avatar
2 votes
Accepted

New option could not be placed in ECB menu using SPFX after project deployed and add-in is i...

Looks like you made some error specifying the location in the User custom action while registering it. Go to your sharepoint > assets > elements.xml file and change the location to ClientSideExtensio …
Gautam Sheth's user avatar
7 votes
Accepted

SPFX Gulp Serve for a wepart is not opening workbench

This is happening because your SPFx solution has an extension added to it. Whenever you add SPFx extension to the solution, after running the yeoman generator, it will modify the config > serve.json …
Gautam Sheth's user avatar
10 votes
Accepted

Hide/Disable property pane component based on another component's value

You can make use of a standard boolean check to determine whether your toggle component has value. Based on that, you can show/hide your slider component. You can do this bool check in the getProperty …
Gautam Sheth's user avatar

15 30 50 per page