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 answers only not deleted user 3221

Technical questions about building and using web parts based on the SharePoint Framework client-side development model.

5 votes

SPFx: loading jQuery (and other libraries)

My understanding is that jQuery and other common libraries should be loaded as an external libraries which can be shared by multiple spfx webparts. There is a great section on this in the wiki: https: …
Vardhaman Deshpande's user avatar
2 votes

Errors when running gulp serve when using SharePoint Framework Office UI Fabric Components t...

Those are all valid lint errors which should go away if you make the following changes in your DocumentCardExample.tsx 1) Remove the following import statements as they are not being used anymore: i …
Vardhaman Deshpande's user avatar
2 votes
Accepted

SharePoint spfx webpart Property 'value' does not exist. sub task errored

You are getting a tslint error because there are no typings defined which say that response which is of type IListItem[] will have a property called value. The best way to solve this is to keep respon …
Vardhaman Deshpande's user avatar
0 votes

SPFx Document Search Result Add-in with ECB / CommandSet option

As of now there is no way to consume/re-use the OOB ECB menu in SPFx webparts. You will have to build a custom one yourself preferably by using the Office UI Fabric React components e.g. the context …
Vardhaman Deshpande's user avatar
4 votes
Accepted

SPFX 1.7.1 - Full page apps - How to configure

For now, you need to programmatically set the PageLayoutType of the page to support full page apps. In the future, you will be able to configure this in your web part itself. See this link on how to …
Vardhaman Deshpande's user avatar
2 votes

While creating SPFx webpart solution, i am getting the error : EINTEGRITY?

Try this: 1) Delete package-lock.json 2) Delete node_modules 3) npm cache clear -f 4) npm install 5) yo @microsoft/sharepoint
Vardhaman Deshpande's user avatar
6 votes

spfx context undefined

This is because the msGraphClientFactory is an object on the SPFx web part context and not the react component context. You will need to pass the msGraphClientFactory object explicitly as a property …
Vardhaman Deshpande's user avatar
1 vote

How do I find the Tenant ID of my SharePoint Online Account using SPFX

SPFx components contain the current tenant id information in the context object as well: this.context.pageContext.aadInfo.tenantId._guid
Vardhaman Deshpande's user avatar
1 vote
Accepted

MSGraph with spfx WebPart does not propt user for permission

The permissions requested in the SPFx package need to be granted by a SharePoint Admin explicitly. Even the ones which do not need an admin consent e.g. People.Read This is so that all permission sco …
Vardhaman Deshpande's user avatar
1 vote
Accepted

How to enable Async/Wait in SPFx Typescript, tslint: Missing semicolon, TS1005: ',' expected...

The await keyword can only be used inside an async function. You are using await in the callback for your returned Promise which is not marked as async. Here is how you can make the callback async: …
Vardhaman Deshpande's user avatar
2 votes

"Converting" project from old to new technology?

There is guidance available from Microsoft around moving your existing customisations to SharePoint Framework: https://dev.office.com/blogs/converting-existing-js-apps-to-sharepoint-framework https: …
Vardhaman Deshpande's user avatar