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
1answer
13 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 ...
0
votes
0answers
14 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 ...
1
vote
1answer
21 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 ...
0
votes
0answers
9 views

Adding Dynamic value to the table data in sharepoint framework

I am adding dynamic data to the table through graph api call into the webpart except in the Assigned To table heading I want to fetch the value for Assigned To through another graph api call How can i ...
0
votes
1answer
25 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. ...
0
votes
0answers
23 views

Fetching Planner Task through Graph API into webpart

public componentDidMount() { this.props.context.msGraphClientFactory.getClient().then((client: MSGraphClient): void => { client .api('me/planner/tasks') .version("v1.0") ....
0
votes
0answers
10 views

Add query string to url so that it can show the planner task pop up form

we have created webpart in sharepoint SPFX with react framework and fetch data using graph API From this webpart we want to redirect to planner task's popform This is the Planner Task PopUp form I ...
0
votes
1answer
43 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, ...
0
votes
1answer
48 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 ...
0
votes
1answer
28 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 ...
0
votes
0answers
69 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 ...
0
votes
1answer
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 ...
1
vote
1answer
72 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 ...
0
votes
1answer
798 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....
0
votes
2answers
236 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 ...
0
votes
2answers
2k 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 = ...
0
votes
1answer
29 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 ...
1
vote
1answer
16 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 ...
1
vote
1answer
567 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 ...
0
votes
1answer
426 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 ...
1
vote
1answer
386 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. ...
1
vote
1answer
115 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 ...
0
votes
1answer
17 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 ...
0
votes
1answer
191 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 ...
0
votes
1answer
198 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....
1
vote
2answers
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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
64 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" ...
1
vote
1answer
113 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, ...
0
votes
1answer
39 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 "...
0
votes
1answer
115 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
0
votes
0answers
220 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 ...
0
votes
1answer
313 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 ...
0
votes
2answers
1k 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 ...
2
votes
1answer
79 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 ...
0
votes
1answer
77 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 ...
0
votes
1answer
263 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 ...
2
votes
3answers
703 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. ...
0
votes
1answer
416 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-...
1
vote
1answer
279 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?
1
vote
2answers
4k 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....
1
vote
3answers
662 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 ...
0
votes
2answers
200 views

How can I use Yarn to download Sharepoint Framework (SPFx) dependencies, for offline use on a VM which is not connected to the internet?

I am starting to read and learn about SharePoint Framework (SPFx). My development environment is a VM on a machine that does not have access to the internet. How would I go collect all the ...
0
votes
1answer
642 views

CSS classes added in project.module.scss not showingUp in my .tsx file in SPFx Project

Currently I started working on React SPFx webparts and wanted to add some new CSS. I added some styling to classes in Project.Module.scss. But Now when I am adding this class names in render() method ...
1
vote
2answers
225 views

Home page get blank when spfx webpart added

I have one custom SPFx webpart which fetches the event from calendar. the webpart is working fine but when I place the webpart on home page communication site. the home page shows blank. If i add the ...
2
votes
1answer
33 views

How to build in-place editable modern webpart?

I'm trying to build a webpart that display tiles with custom data. I'm trying to mimic the behavior of the page banner webpart that allow to edit each tiles directly within the webpart, each tile ...
1
vote
1answer
101 views

SharePoint Framework Web Part data storage

I have some JSON that is populated when a user sets up a web part, the JSON is used as the config i don't want to display this data to the user and I cannot see any way to simply hide a multi line ...
0
votes
1answer
215 views

Is there any way to get the URL of a yammer profile user's homepage via API?

I am trying to find a way to get the link that takes you to the Yammer user's homepage. I see that the Yammer user's homepage has some kind of ID in the URL. I developing an app that will show users ...
1
vote
1answer
290 views

How to Print a Document from the Modern Library in SharePoint Online?

I have a certain use case of being able to print a document directly from the modern library using a button. Almost a one click solution. I had a quick look around and found ways to print a modern ...
0
votes
2answers
4k views

How make accordion detail list with UI fabric react

I start with UI Fabric react; I am developing a FAQ; I use for that a list; but the result is not good; I want to do something looks like an accordion, where we can see the question as a header and ...

1
2 3 4 5