Questions tagged [sharepoint-framework]

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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
5 views

SPFx extension customizer JS files is not loading on production tenant of my SharePoint Online site

I have two different tenant, one is for development things and another for production. I have developed one SPFx extension and deployed on development and production site. It was working perfectly ...
user avatar
0 votes
1 answer
11 views

Trying to set up SP Framework - Can't get past Command Prompts

I'm trying to take the plunge into getting SP Framework set up so that I can add the modern script editor (frustrating that it isn't an easy process to set up). I've followed numerous tutorials, but ...
user avatar
  • 139
0 votes
0 answers
23 views

Store or Update an object array in WebPartProperties from child component - SharePoint Framework (Spfx)

i have a child component in a SPFx WebPart where a build up an object array containing People objects. This array is build up when the page/webpart is in edit mode. After page save I wont to pass the ...
user avatar
0 votes
1 answer
23 views

SharePoint Online - Social Media Integration

I have a requirement to allow employees to share "News Posts pages" to their social media accounts (Facebook, LinkedIn, and Instagram) from our intranet SharePoint Online Site. In addition, ...
user avatar
  • 307
0 votes
1 answer
66 views

What is the latest version of "sp-pnp-js" that is compatible with SPFx v1.4.1 (On-Premise)

Does anyone know which is the latest version of sp-pnp-js that is compatible with SharePoint Framework v1.4.1 for SharePoint 2019 On-Premise? Тhanks in advance
user avatar
  • 2,028
0 votes
0 answers
17 views

Can a provider-hosted SharePoint Add-In be re-written to use SharePoint framework? [duplicate]

I'd like to take an existing provider-hosted SharePoint Add-In and convert it to use SPFx. However, it is unclear what the impact would be. For instance, the management of Client ID/Secret which used ...
user avatar
0 votes
1 answer
20 views

how to get the data of discussion list in spfx using React js with bootstrap i have already create Discussion board list and UI for Discussion Board

This is my Discussion Borad List and other is my UI of Discussion Borad SO how can i get the data of the List of Discussion borad to UI
user avatar
0 votes
1 answer
120 views

SPFx workbench.html is not generated

I'm trying to setup a local development environment for SharePoint Framework to develop web parts. I've followed the microsoft guides for setting up SPFx dev environment and build your first web part ...
user avatar
  • 3
1 vote
1 answer
47 views

How to deploy Command Set Extension for Site Pages Library

I would like to know how to specify location of ListViewCommandSet Extension in "Site Pages Library" I have set ListTemplateId="100"to show in custom List View and ListTemplateId=&...
user avatar
1 vote
1 answer
98 views

Deploy correctly SPFx v1.4.1 package in SharePoint server 2019 using gulp

I would like to know how to deploy correctly SPFx package in SharePoint Server 2019 on-premise using gulp and sppkg. It seems that SharePoint server doesn't not work like SharePoint online and it ...
user avatar
1 vote
1 answer
81 views

deploying spfx .sppkg package in sharepoint 2019 doesn't work but it work fine using debugging url

I'm troubling with issues when trying to deploy Spfx command Set extension using sppkg in Sharepoint Server 2019 It work fine using debug url after running gulp serve but when i moved to deploy it ...
user avatar
1 vote
1 answer
90 views

Static IP address for custom SPFx App and SharePoint Online

I have a custom web part that I'm building using SharePoint Framework to go on my SharePoint Online tenant. The application will be hitting a third-party API to fetch data. The complication is that ...
user avatar
  • 267
0 votes
0 answers
38 views

How to create a wiki app using react and SPFx steps?

I have to create app wiki in SharePoint using react. It should be displayed in SPFx web part in below format. Provide me any code examples in React JS. I would like to do a autocomplete search to find ...
user avatar
1 vote
1 answer
67 views

spfx-angular-elements project working correctly on workbench but not working on sharepoint page

I have created a spfx-angular-element demo with reference to the below link: https://gonadn.medium.com/spfx-with-angular-element-crud-operations-using-pnpjs-5a8a18ed6e43 It is working correctly in the ...
user avatar
0 votes
1 answer
42 views

Is there any option for SharePoint global navigation which is compatible with SharePoint Server 2013 and SharePoint online?

I'm currently using SharePoint 2013 and want to build a custom global navigation for the whole farm which is also migratable to SharePoint Online. In SharePoint Online i use the modern environment. ...
user avatar
  • 1
0 votes
1 answer
79 views

Fetching the Outlook Task's Data into Webpart using Graph Api call

I am using render function to make Graph Api call I have created a function _outlookTask to fetch the outlook task's data How to make Graph Api call with Selecting the HTTP method as GET and then, ...
user avatar
0 votes
1 answer
105 views

Fetching the data through Graph API in the webpart using sharepoint framework

[I am trying to fetch my email messages through Graph API into the webpart in sharepoint framework] In the webpart Not getting the details of my emails through Graph API Error : Cannot read property ...
user avatar
0 votes
1 answer
43 views

How to redirect from a TaskList to a sitepage in sharepoint Spfx

This is my Task list, how to redirect to any Site page on the click of the Task Name field? When we are clicking on any Task Name field's value, the default form is opening as shown below: Instead ...
user avatar
0 votes
0 answers
137 views

Tag Picker in SPFx

I am trying to use the FluentUI Tag picker on https://developer.microsoft.com/en-us/fluentui#/controls/web/pickers for one of my projects Being a newbie , I am experiencing challenges implementing ...
user avatar
  • 37
0 votes
1 answer
3k views

Getting Invalid hook call Hooks can only be called inside of the body of a function component with SharePoint Framework Template

I get this sp-webpart-workbench-assembly_default.js:26401 [1599066762186][OtherGlobalError.window.onerro] Invariant Violation: Invalid hook call. Hooks can only be called inside of the body of a ...
user avatar
  • 2,140
1 vote
1 answer
136 views

SharePoint Online Workbench layout much different from deployed .sppkg webpart - Using React

I'm using SPFx/React to create a simple custom form. Using Fluent UI grid, controls, etc. and it looks fine in the dev workbench area, but as soon as it's deployed the layout is completely ignored. I ...
user avatar
0 votes
1 answer
1k views

SPFx app not showing up in the webpart list

As I am new to SharePoint Framework, I am trying to update an existing web-part (updated the version in package-solution.json). Updated .sppkg file in app catalog (overwrite), shows new version number....
user avatar
0 votes
2 answers
2k views

Unable to remove left navigation from a SharePoint Page

I have a SharePoint Online page created with a template, which I cannot remove the left navigation pane from. (I can edit the list of links, but I want to remove the whole pane completely). Ideally I ...
user avatar
0 votes
2 answers
6k views

How to filter the retrieved items using a pnp-js-core REST call to a SharePoint list

As I am new to Sharepoint framework , I am trying to filter the retrieved list items from sharepoint list. Please find below code: pnp.sp.web.currentUser.get().then(function(res){ var userEmail = ...
user avatar
0 votes
1 answer
37 views

How to pad a number with leading zeroes using No javascript framework version in SPFx webpart?

As I am new to Sharepoint Framework, I am trying to generate request ID for the request form using the pad function for adding leading laeding zeroes using No javascript framework version in SPFx ...
user avatar
1 vote
1 answer
20 views

Error "This tab is not supported on your mobile" on adding webpart to Microsoft Teams when login through mobile

I have synced the spfx webpart with Microsoft Teams, it is working fine on the system but when trying to open the tab through mobile it is giving me an error "This tab is not supported on your ...
user avatar
1 vote
1 answer
912 views

How to use people picker control using sp-pnp-js( Pnp-JS-Core) library and save users selection in Person or Group type column in Sharepoint List?

As I am new to Sharepoint framework, I wan to know how can I use the people picker control using sp-pnp-js library and save the users selection in Person or Group type column in Sharepoint List.... I ...
user avatar
0 votes
1 answer
784 views

SharePoint framework to sync network folder

Can I use the SharePoint framework to synchronise files from a network folder to a document library? If not the framework is there a way to host some service that will monitor a network drive and ...
user avatar
  • 101
1 vote
1 answer
764 views

Getting warning messages : Warning - [sass] The local CSS class 'min-chart' is not camelCase and will not be type-safe

I am using third party css in SPFx. When I am building it, SPFx is showing me lots of warning messages : I am using Windows 10 / SPFx 1.11.0. Please let me know how to disable these warning messages. ...
user avatar
2 votes
1 answer
221 views

Configurations in SPFx Extension for CommandSet, Application Customizer and FieldSet

I have created a solution for Sharepoint Online which needs some confiugration like clients website URL. we are using all the three types of extenstion Command set Field Set Application Customizer I ...
user avatar
0 votes
1 answer
23 views

What is the purpose for App URL for on-premise SharePoint?

We are using SP2016 on-premise. Patch is deployed so that I can work with Spfx. I followed this MS document (Configure an environment for apps for SharePoint Server) to configure any App domain ...
user avatar
  • 4,016
0 votes
1 answer
259 views

Is SPFx client web part durable? Is this good approach to develop web pages to publish in SharePoint online (Office 365)?

I have some dynamic pages in my intranet website (CRUD operation plus search/filter). I have office 365 SharePoint online version. I want to develop client web part using reactjs and restAPI to work ...
user avatar
0 votes
1 answer
231 views

REACT warning when trying to render table

I am new to REACT and I am trying to render my SharePoint list data in a table onto a SharePoint page. I am able to render successfully but then I get the following warning in the console. react-dom....
user avatar
  • 211
1 vote
2 answers
30 views

How do I develop a completely custom portal/website that has rich designs in SharePoint?

I am required to develop a fully custom knowledge management portal in SharePoint - where different team members in a project can login, ask directed questions, edit their profiles, contribute ...
user avatar
0 votes
1 answer
2k views

How to best implement pagination for a spfx web part displaying a list of links?

I have a web part that displays a filtered list of links based on the logged on users profile properties. Its working well, but I cannot work out the best way of adding pagination. The list is never ...
user avatar
0 votes
0 answers
149 views

How to print the selected value of Dropdown

I would like to know if there is a way to print the selected value of a Dropdown menu that is inside the Property Pane in SPFX. Like, in my case, how to make it print with a console.log "Ascending" ...
user avatar
1 vote
1 answer
199 views

Application Customiser doesn't work on SharePoint homepage 2019 on-prem

I have a very basic application customiser that adds a custom css file to the page, hiding certain elements like the "Get the mobile app" button. The app is installed in the mysite host app catalog, ...
user avatar
0 votes
1 answer
42 views

Get column value, not ID, from a look up column

thank you for reading; my problem is: I want to retrieve the values of the column "GroupWithPriority". That column is a Look Up from other list. When I try to get the value, all I get is "...
user avatar
0 votes
1 answer
240 views

Spfx source files from spkg

Inlost my source file of spfx webpart. I only have spkg package can i extract source field from spkg please help mei it's urgent
user avatar
  • 87
0 votes
0 answers
344 views

I keep getting 404 not found on gulp serve?

Request URL:https://localhost:4321/node_modules/@microsoft/sp-property-pane/node_modules/react/dist/react.js Request Method:GET Remote Address:127.0.0.1:4321 Status Code: 404 I modified a file ...
user avatar
  • 75
0 votes
1 answer
431 views

SPFx JQuery Dialog button click does not find public function

I am new to TypeScript and SPFx development. I have a jquery UI dialog box and a public function in the same class that makes some MSGRAPH calls after the button has been clicked. The button click ...
user avatar
  • 103
0 votes
2 answers
2k views

SharePoint 2019 SPFx application customizer - site collection wide automatic deployment

I am looking forward for some help. I developed an application customizer to inject JS and CSS. I am using the "includeClientSideAssets": true to get my stuff within the sppkg. In addition to that ...
user avatar
2 votes
1 answer
106 views

Is it possible modify the megamenu cascading dropdown spacing?

I'm looking for a way to modify to spacing between the section titles on the megamenu? I'm thinking that this could be done modifying the css scripting, but I'm not that skilled with the web-dev side ...
user avatar
  • 55
0 votes
1 answer
92 views

SharePoint Development with SharePoint Framework

We have SharePoint 2019 at workplace. I saw the documentation in MS https://docs.microsoft.com/en-us/sharepoint/dev/ about getting started with SharePoint Development. Do I have to set up a ...
user avatar
0 votes
1 answer
356 views

Why are the SPFx web parts NOT working in one of the three tenants?

The five web parts needed to build the Luminas SP site are having issues with the external linking or security/settings, or maybe its just the app catalog? I deployed five web parts in two separate ...
user avatar
2 votes
3 answers
943 views

Get information of employee from Employee ID in Sharepoint Framework(SPFX) using REST API

I am using Sharepoint Framework(SPFX) and using Typescript for calling REST APIs. I want to get information of other employees from Office 365 or Active Directory using their Email ID or Employee ID. ...
user avatar
0 votes
1 answer
509 views

How to setup the environment for the sample sp-dev-fx-webparts - client-side web part samples

I have installed git and cloned the below https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples Installed node and NPM for windows.Ran npm install for just one specific folder (react-...
user avatar
  • 4,080
1 vote
1 answer
428 views

how to Get sharePoint edit document properties in spfx

how to edit properties for document in sharepoint SPFX? inside a webpart. Is it possible to do something like in the image I added?
user avatar
  • 79
1 vote
2 answers
5k views

SPFX webpart creation Error: ReferenceError: primordials is not defined

I am creating SPFX webpart. Without doing any code changes i am executing gulp serve. I am getting below error for this. What could be the issue? GULP version: CLI version: 2.2.0 Local version: 4.0....
user avatar
1 vote
3 answers
958 views

SharePoint framework yo not showing all the options

I am new to SharePoint framework. I am executing yo @microsoft\sharepoint. Providing all the inputs. For the question Which type of component to be created? it is showing only Webpart. It is not ...
user avatar

1
2 3 4 5