Questions tagged [spfx]

The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data, and support for open source tooling.

975 questions
0
votes
1 answer

SPFX - Refreshing Web Part after long interval

I'm writing a web part to query data from SharePoint Online, the data returned is displayed using a DetailsList component, the problem I'm having is with queries that take a long time to return their results, the web part doesn't get refreshed and…
Mr. Dr. Sushi
  • 469
  • 8
  • 22
0
votes
1 answer

Creating List Columns with pnp/sp not being created

So I can create a list just with ensure: sp.web.lists.ensure(list) .then((ler: ListEnsureResult) => { if (ler.created) { console.log(list, " was created; creating column"); …
Holden1515
  • 659
  • 2
  • 7
  • 20
0
votes
1 answer

Deploying WebParts and Extensions in SPFx

We have a solution with an app extender (mega menu and some look n feel jquery teicks) and a web part. We are trying to deploy it. It's pretty easy getting the dev version in the App Catalog and running it with local scripts. The extender doesn't…
0
votes
1 answer

Angular 6 and Sharepoint SPFX

Just wondering if anyone has any samples or links to instructions for running an angular 6 app on Sharepoint SPFX. I have followed this example for Angular 5 but it will not work once I upgrade the angular…
Damien
  • 4,081
  • 12
  • 75
  • 126
0
votes
1 answer

Adding a SPFx web part to a SharePoint classic page crashes PnP Widget Wrangler AngularJS components

I have a SharePoint classic page with a Script Editor web part on it. In the Script Editor web part, I am using PnP Widget Wrangler to add a simple AngularJS component to the page, like below: Script Editor web part:
Jools
  • 1
  • 1
0
votes
1 answer

React Rest Calls Racing

I'm working on a web part using the SharePoint Framework, and my code is basically calling two methods to get information from SharePoint Online, when I call these methods on my render() method, I'm getting something like the following: --- RENDER…
0
votes
1 answer

spfx extension unrelated ApplicationCustomizerContext type tsc error

I encountered dificulties working the ApplicationCustomizerContext type using the TypesSript 1) I have created a spfx application customizer 2) I have added in the application customizer main ts file: import ApplicationCustomizerContext from…
rychlmoj
  • 385
  • 1
  • 3
  • 14
0
votes
1 answer

Javascript when adding SPFx webpart in modern site

I'm trying to figure out how to modify the CSS when a WebPart is added. The Idea is to span the background of the added Web Part across all columns, let's say the Web Part is added in the left column on a 2 column page. The background would span…
0
votes
1 answer

SPFx using @pnp/sp to create list

I'm trying to create a custom list using @pnp/sp, in my routine I need to check if the list does exist, if it doesn't, them I will create the list and add the its columns. The code below sometimes work, guess it is because sp.web.* methods are…
Mr. Dr. Sushi
  • 469
  • 8
  • 22
0
votes
2 answers

how to remove side navigation and top header area from all pages in SharePoint using SPFx

I'm trying to remove side navigation and top header area from SharePoint but the result is reflecting only on homepage. How can I remove it from all pages? Is there any way to remove this with SPFx extension with out using old css technique …
0
votes
1 answer

Testing the existence of specific fields from a list

I'm trying to validate whether a list has an specific list of fields, it keeps returning all the existing fields from the list, how do I make this things work? Is there a better way to achieve what I'm…
Mr. Dr. Sushi
  • 469
  • 8
  • 22
0
votes
2 answers

How to create SPFX webparts? Steps till the deployment and debugging

I want to know the basics and creating webpart using SPFx(SharePoit framework) i need the completed steps till the deployment and debugging in sharePoint online.
Nagarajan
  • 11
  • 1
  • 6
0
votes
1 answer

Using SP.Modal dialog in SPFX command set

My requirement is to open a SharePoint page in a modal dialogue using command set in a list. I have followed this: MSDN tutorial to create command set and this question: How to refernence sp.js This is my .ts file code import { override…
0
votes
1 answer

SPFx - JavaScript function not firing

I have a slide component assembled on my render() method in my web part, it is displayed fine but the Javascript action "ShowSlide()" necessary to activate the slide is not being fired inside the $().ready() I've placed the call inside the public…
Mr. Dr. Sushi
  • 469
  • 8
  • 22
0
votes
1 answer

Ionic 3 File Download using External Sharepoint File URL

I am created project Ionic with Sharepoint, I have a stored pdf, xls, doc, etc.. file in list, I have a actual path of a file URL, I am create documents Gallery in my app with download option, when i'm click download icon i have to download a that…
Karnan Muthukumar
  • 1,843
  • 1
  • 8
  • 15