Search Results
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 |
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.
0
votes
Module jquery resolves to a non-module entity
You need to add as below :
"externals": {
"jquery": {
"path": "https://code.jquery.com/jquery-3.1.0.min.js",
"globalName": "jQuery"
}
},
In order to define an external sc …
1
vote
Accepted
How to get the URL for a selected document in a sharepoint framework extension spfx
You can make use of the .spItemUrl property or FileRef to get the absolute URL of the document in a document library.
So modifying the example present in the link you have mentioned, modify your onEx …
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 …
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 …
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 …
3
votes
Accepted
Typescript errors in SharePoint Framework webparts
In the screenshot, i see that you are running the Node v6.9.4 . You should uninstall this Node version and instead install the Node v4.6.0 LTS version. Today SharePoint Framework requires Node.js 4.6. …
3
votes
SharePoint Framework: Loading icon in property pane
A little late to this answer, but you can follow the below approach:
1) Create 2 private variables, _listOptions of type IPropertyPaneDropdownOption and loadingIndicator of type boolean (set it to tr …
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 …
2
votes
Accepted
SharePoint Framework Extensions not working on my tenant
The SPFx extensions are not yet ready for production use.
But with the recent update to RC, you can play with them in the Developer tenants or First release tenants.
If you have developer tenant, it …
1
vote
Accepted
Disappearing Background Image Style Attribute With Certain URLs
Firstly - The endpoint that you are using is unsupported and undocumented. So, someday that endpoint might abruptly stop working :)
Secondly - I investigated this issue. The issue happens only for " …
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 …
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 …
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 …
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 …
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 …