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
0 votes
1 answer
63 views

login.microsoftonline.com refused to connect with SPFx

Facing issue: 'login.microsoftonline.com refused to connect'. It faced while deploy .sppkg file to Site. Solution works fine with workbench, but not works when deploy. Please suggest solution for this ...
Parth Shah's user avatar
0 votes
0 answers
28 views

Unable to List All SharePoint Online Lists Using SharePoint SPFX Framework

I'm new to SharePoint SPFX development. As I am new to SharePoint SPFx, I was trying the below Microsoft Official Tutorial Connect your client-side web part to SharePoint (Hello World part 2) . I ...
ChiranSJ's user avatar
0 votes
0 answers
136 views

SharePoint Framework with React TypeScript react-router-dom error

I am using SPFX with React TypeScript for developing on SP. In order to apply routing between components, I am using react-router-dom. However, I am facing this issue: Error - typescript - ...
Mohammed Abed's user avatar
0 votes
0 answers
111 views

Create new page in child folder under Site Pages library using @pnp/sp

I need to create a page programmatically in a child folder under the Site Page library. I have created an SPFx solution for the same. I have created a functional component and added one button on that ...
thedeepponkiya's user avatar
0 votes
0 answers
91 views

How to add SPFx webpart to page in SharePoint online sub-sites?

I have created the SPFx web part for custom development in SharePoint online modern site. I have created multiple subsites under one site collection. I need to add the SPFx web part to all sub-sites. ...
thedeepponkiya's user avatar
1 vote
0 answers
31 views

Error in import package of MS flow [closed]

When I'm import the package of MS flow in other site I'm facing this problem..
VinitKumar19's user avatar
1 vote
1 answer
30 views

How to upload a MS flow package to another SharePoint site [closed]

I'm new in MS flow I'm importing a flow package from a SharePoint site and upload into another SharePoint site.
VinitKumar19's user avatar
0 votes
2 answers
43 views

How to access SharePoint Online SPFx application in MS Excel?

I want to develop an SPFx application that can be accessed using MS Excel. When a user opens Excel, our SPFx solution is already ambaded there. Please share any ideas using which I can achieve the ...
Parth Shah's user avatar
0 votes
1 answer
2k views

SPFx - Get list items from different site collection where user have access

Link-1: https://abc.sharepoint.com/sites/site-1/ Link-2: https://abc.sharepoint.com/sites/site-2/ Using SPFx, From Link-1 site webpart, I want to get list items from Link-2 site. I tries axios, fetch ...
Parth Shah's user avatar
0 votes
1 answer
629 views

How can we add custom button in Microsoft team

Is there any way to add a custom button in Microsoft team channel to open a popup where we can do the insert operations with SharePoint list? Below is screenshot example:
abhishek23 Negi's user avatar
0 votes
1 answer
1k views

Uncaught TypeError: Cannot read properties of undefined (reading 'context') in spfx

When I am checking my published document that time I am facing this problem, before this it was running fine.
Vinit kumar's user avatar
0 votes
2 answers
57 views

Issue when packaging a solution

When I am packaging a solution I am facing this error when I run the command gulp bundle -ship.
Vinit kumar's user avatar
0 votes
1 answer
184 views

Error in Spfx solution at creating time

When i am creating solution in spfx with react that time i am facing that problem.
Vinit kumar's user avatar
1 vote
1 answer
36 views

How to Remove the Current User email from a dropdown list [closed]

const getDropdownDataFromMaster = (): void => { let UserEamilArray = []; let userEmail = props.context.pageContext.user.email; console.log(userEmail); console.log("heyyy&...
Vinit kumar's user avatar
1 vote
0 answers
397 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 ...
Ajay Kumar's user avatar
0 votes
1 answer
50 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 ...
Chris's user avatar
  • 371
0 votes
1 answer
341 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, ...
SmithBZ's user avatar
  • 331
0 votes
1 answer
614 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
Goshky's user avatar
  • 2,058
0 votes
1 answer
31 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
Vinit kumar's user avatar
0 votes
1 answer
1k 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 ...
Seer's user avatar
  • 3
2 votes
1 answer
433 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=&...
Abdelmoumene BENAIDA's user avatar
1 vote
1 answer
501 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 ...
Abdelmoumene BENAIDA's user avatar
1 vote
1 answer
253 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 ...
Abdelmoumene BENAIDA's user avatar
1 vote
1 answer
189 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 ...
Ushka's user avatar
  • 277
1 vote
1 answer
152 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 ...
BhattMeet's user avatar
0 votes
1 answer
57 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. ...
Cookie's user avatar
  • 1
0 votes
1 answer
165 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, ...
abhishek23 Negi's user avatar
0 votes
1 answer
251 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 ...
abhishek23 Negi's user avatar
0 votes
1 answer
96 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 ...
abhishek23 Negi's user avatar
0 votes
0 answers
304 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 ...
Vivek's user avatar
  • 37
0 votes
1 answer
4k 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 ...
omega's user avatar
  • 2,150
1 vote
1 answer
220 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 ...
Mark Apolinar's user avatar
0 votes
1 answer
2k 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....
Nidhi Maheshwari's user avatar
0 votes
2 answers
3k 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 ...
Nidhi Maheshwari's user avatar
1 vote
2 answers
14k 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 = ...
Nidhi Maheshwari's user avatar
0 votes
1 answer
89 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 ...
Nidhi Maheshwari's user avatar
1 vote
1 answer
21 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 ...
Nidhi Maheshwari's user avatar
1 vote
1 answer
1k 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 ...
Nidhi Maheshwari's user avatar
1 vote
1 answer
1k 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 ...
codeAline's user avatar
  • 111
1 vote
1 answer
2k 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. ...
Gaurav Goyal's user avatar
2 votes
1 answer
485 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 ...
Sumit Modi's user avatar
0 votes
1 answer
39 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 ...
Mark L's user avatar
  • 4,055
0 votes
1 answer
302 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 ...
rajmahar's user avatar
0 votes
1 answer
252 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....
OLA's user avatar
  • 211
1 vote
2 answers
33 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 ...
vssachin's user avatar
0 votes
1 answer
4k 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 ...
chris rowles's user avatar
0 votes
0 answers
262 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" ...
Leonardo David's user avatar
1 vote
1 answer
290 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, ...
Geoff Bailey's user avatar
0 votes
1 answer
50 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 "...
Leonardo David's user avatar
1 vote
1 answer
710 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
kumar's user avatar
  • 139

1
2 3 4 5