Questions tagged [spfx]

General technical questions about the SharePoint Framework client-side development model.

Filter by
Sorted by
Tagged with
0 votes
1 answer
6 views

SPFX Custom Action not showing in context menu

I am trying to create a custom action in SharePoint, and get it appear in the context menu (the 3 dots next to the item in the list) I have tried all different combiniations of location in elements....
user avatar
  • 165
0 votes
0 answers
6 views

Which version of fluentui/office fabric UI is best to be incuded in SPFX project?

The documentation states that by default Fabric core styles are already included in the SPFX framework. They also say we can use office-ui-fabric-react, but that will be included in the output bundle (...
user avatar
  • 7,426
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
1 answer
30 views

Guest User access to Tenants Graph API

I am currently facing an issue with a requirement that was presented to me, and i would like to ask you guys on possible ways of solving it. The requirement is to enable External/Guest users to have ...
user avatar
  • 187
0 votes
0 answers
33 views

SPFx Vs Power Apps for building Polls and Forms that are shown inside modern pages

I am starting new SharePoint Online project, and we need to add those 2 components inside the site modern home page:- Polls which contain checkboxes to submit >> each user can submit one time. ...
user avatar
  • 2,224
0 votes
1 answer
15 views

Replace OOB Sharepoint top menu with Top Application Customizer Extension

I have built a custom Sharepoint Top Application Customizer Extension for a branding project, does the Top Application Customizer always appears on the top of the page? as per our requirement we are ...
user avatar
0 votes
1 answer
19 views

Show the User Outlook Personnel calendar inside SharePoint modern page

Inside our communication site home page >> we want to show the login user Outlook personnel calendar. So is this possible? using built-in web parts or using Power Apps? Thanks
user avatar
  • 2,224
0 votes
1 answer
18 views

Change the Background color of the top navigation for our site and add a button

I have a modern communication site inside our SharePoint Online tenant, and we want to do the following modification to our top navigation area:- Change the background color to be dark blue Add a ...
user avatar
  • 2,224
0 votes
0 answers
15 views

Elements of webpart not always displaying

Hopefully I can make sense of this. I have a react WebPart and am trying to display a ChoiceGroup (based on doc libraries), a Button, and then a 'FancyTree' display of the chosen document library. ...
user avatar
  • 23
0 votes
0 answers
27 views

Facing Error Implementing CRUD operations using spfi pnpjs package

I was trying to implement CRUD Operations using spfi, So, I was following this PnpJS Blog to find solution to my problem - https://pnp.github.io/pnpjs/sp/items/ So, they have imported spfi and ...
user avatar
0 votes
1 answer
30 views

How to best setup spfx on a new environment

I'm looking at setting up a spfx on a new environment and i'm looking for ways to automate/improve the installation maybe using some generator or something similar. Also some good resources and links ...
user avatar
  • 4,080
0 votes
0 answers
29 views

NPM version is not known to run on Node.js v10.15.1

I want to set-up the SPFx environment with the Node.js v10.15.1 and npm v6.4.1 so, I installed Node.js v10.15.1. But when I tried to check the npm version, it is showing the below error. How can I ...
user avatar
  • 1,342
0 votes
0 answers
14 views

SPFX React BingMaps

I am creating a webpart to display office locations pins on a bing map, when a user clicks on a pin a custom html infobox appears The geo-data is coming from a sharepoint list, I am using react-...
user avatar
0 votes
0 answers
19 views

SPFx React Error on Rendering Loop and PnP controls

I am using React to develop with SPfx for SharePoint online and am trying to rebuild a past solution I made, so that I can utilize the property pane of sharepoint to edit the webpart. I am getting an ...
user avatar
1 vote
1 answer
50 views

Attempting to delete multiple items from SP list using pnpjs V3 but getting error on ```createBatch()```

I'm following this documentation: https://pnp.github.io/pnpjs/sp/items/#add-multiple-items But I'm getting an error with sp.web.createBatch(): import { SPFI, spfi, SPFx } from "@pnp/sp"; ...
user avatar
0 votes
2 answers
33 views

CDN files not Created in temp/deploy when shipping

I created modern script editor web part using this : https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-script-editor Enabled CDN using SharePoint Power Management Shell https://www.c-...
user avatar
2 votes
1 answer
63 views

SharePoint online When user clicks on New/edit item need to redirect to site page

Need to redirect to site page when user clicks on new/edit item in SharePoint online new experience, site page will have spfx app to add or edit item. How could we achieve this functionality, in ...
user avatar
0 votes
1 answer
40 views

Spfx pnp people picker

I recently found that using react picker control is using the API to track some properties Api azure Api Is there any way to stop this ? Or any other alternative to pnp people picker ? pnp tracking
user avatar
  • 442
0 votes
1 answer
40 views

Recreate App Catalog site in SharePoint Online

We have couple of modern UI apps (.sppkg files), that work fine in various tenancies. For one particular tenancy, these apps are not getting deployed and we see correlation error. And we see this ...
user avatar
  • 667
0 votes
0 answers
17 views

Try to generate unique ID

I have 4 to 5 dropdown fields and i have try generate unique id. For example:- In below image i have 4 fields. The series for the Unique ID( 1st four alphabet of each selected value) = Company + ...
user avatar
  • 45
0 votes
0 answers
14 views

PeoplePicker mismatching SharePoint IDs

I'm using people picker for a web part. However the ID's are mismatched. When I chose Adele Vance on my people picker (ID 12) and save, it stores it in the list as SG1 (one group I have on my AD). My ...
user avatar
1 vote
1 answer
45 views

SharePoint Search REST API does not return custom columns values

I've been trying to use SharePoint REST API to retrieve a number of files on my site but for some reason, if it does tell me the name or descriptions of the files, it returns null for every single ...
user avatar
0 votes
1 answer
9 views

How to add dynamic choices to SPFx 1.13.1 ACE QuickView

So I have the Adaptive card working in the adaptive card desiner. The QuickView JSON is this: { "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/...
user avatar
  • 125
0 votes
0 answers
16 views

Map showing people's locations and info

i've seen an old youtube video where someone creates a map next to a list of people for showing their locations and details. I'm trying to do the same but it seems that lists don't have anymore a map ...
user avatar
0 votes
1 answer
38 views

SharePoint Framework - Create a lookup column using feature

My requirement is to create a Custom List using the Feature (SPFx solution). I have created a custom list using the SPFx feature, I have created a different type of field. But now I want to create a ...
user avatar
0 votes
1 answer
75 views

Unable to run my webpart using gulp serve

I'm trying to work on a project of a SPFx web part. The project was built normally but when I try to test my web part on my tenant the following error occurs: "Your web part will not appear in ...
user avatar
2 votes
0 answers
38 views

SharePoint Online SPFX Solution structure: How to handle list definitions and what are the best practices

I will be creating an spfx solution which will host various web parts, extensions, content type and list definitions. To my understanding the best approach is to have a single solution this way ...
user avatar
  • 33
0 votes
1 answer
10 views

How can I remove the blank item in SharePoint Admin API access (webApiPermissionManagement)?

Within the SharePoint admin center for API Access I have an approved request, but its blank (Highlighted line). https://[tenant]-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx#/...
user avatar
  • 1,803
0 votes
1 answer
55 views

Using SPFx custom property pane in SPFx extension

Does anybody know, if it is possible to show the property pane in the SPFx extension? I want to show the property pane after clicking the icon which I created in the navigation in my SharePoint online ...
user avatar
  • 13
0 votes
0 answers
5 views

Teams' app data authentication

We have a SPFX team's app that consumes the on-premises data. Our Org is using ping authentication and single sign on. When we load the SPFX app in browser and browser it is using the browser info to ...
user avatar
1 vote
0 answers
12 views

Automatic sequnetial numbering of folders and files

We have a request to enable a type of automatic number of files and folders in our sharepoint libraries so that they look similar to the below image. So the actual name of the file and folder won't ...
user avatar
  • 23
0 votes
1 answer
71 views

How to load the custom CSS in SPFx Extension before the page load?

We are loading a custom CSS using SPComponentLoader in SPFx Extension to apply these styles in header. But while the page loads, the UI is not coming properly as the Custom CSS loads after the Page ...
user avatar
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
0 answers
14 views

Evaluate SharePoint Formula within a custom web part

I am building a custom web part and want to honor the conditional formula set to determine if the list field should be shown. The value I am interested in evaluating is set by selecting edit ...
user avatar
  • 1
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
21 views

SPFX Extension Issues in Edge

I have built an extension and deployed the extension in-app catalog but it showing an error message in the edge browser but completely fine in chrome. Erro Loading debug manifests..... Steps I ...
user avatar
0 votes
0 answers
53 views

Is it possible to make an SPFX Footer that is not fixed to the bottom of the screen?

I created an SPFX solution that adds a footer to the bottom placeholder on modern pages of SharePoint Online. The issue I am having is that this footer is fixed to the bottom of the screen. I require ...
user avatar
  • 33
1 vote
2 answers
40 views

Enable users edit permission only for items added by him in a list

I have the below requirement in SharePoint Online and On-prem versions: A custom list is to be maintained where users can edit only items that were created by him/her. Enabling unique permission for ...
user avatar
0 votes
1 answer
31 views

Does anyone know how a custom SharePoint list to be showed as a persona card?

I'm a new in SharePoint solution ,my problem is that i have a custom SharePoint list which have people inside and i want that people with the credentials to be showed as a persona card like MS graph ...
user avatar
0 votes
0 answers
19 views

Issue with conditional formatting after setting txtContent with JSON calculus

i have a list with a Deadline date field, i want to add a DaysToDeadLine field to show how many days are left before the DL. I read that there's issues with the today() function in sharepoint so i'm ...
user avatar
0 votes
1 answer
35 views

Does anyone know how to display data from a sharepoint list as an image?

Does anyone know how to display data from a SharePoint list as an image ? I want for an example each row from the SharePoint list to display as an image to the hub site . For examples i have 5 custom ...
user avatar
0 votes
1 answer
41 views

How to get latest version of SPFx web part?

I have a web part this is on version 2.0.0.0, but the site it's deployed on is still on version 1.0.0.0. The screenshot below proves it's using the outdated version, but I can't see how to make the ...
user avatar
  • 396
1 vote
2 answers
91 views

Incorrect API Endpoint URL

I'm very VERY new to SharePoint and am currently working on a project with needs a react SPFx Web Part to be developed which can be put on any site/page to read data from Document Libraries. However, ...
user avatar
  • 23
0 votes
0 answers
16 views

Does anyone know how to fecth automacally data from a sharepoint list and be shown as persona card?

I have SharePoint list which had contacts and want to make a SharePoint framework solution that will fetch these data and show it as a persona card .I cant figure out and I'm trying to solved for a ...
user avatar
0 votes
1 answer
73 views

Does anyone know how to use live persona card and load data from a SharePoint list?

Does anyone know how to use live persona card and load data from a SharePoint list
user avatar
0 votes
0 answers
44 views

Filtering users in AD using SPFx Typescript

I followed the following solution from GitHub. I am trying to get the users from specific "UsageLocation", i.e. US, by adding it in an additional filter. In the code below, I added Filter ...
user avatar
  • 1,787
0 votes
1 answer
83 views

Is SharePoint injecting a second command menu bar?

I've inherited the SPFx components of a SharePoint solution that has a custom command set that replaces the OOB command menu bar items.The OOB menu items are removed by looping over "ms-...
user avatar
0 votes
1 answer
26 views

SPFX library code is also bundled with webpart code

I have deployed a library and webpart in sharepoint and later I updated the library and deployed it again then I have noticed the code in the previous version library is getting executed. I have also ...
user avatar
0 votes
1 answer
44 views

How to achieve web-parts-full-width for List Views (OTB) - Modern UI

I would like to make the OTB list view have a full width. I want to get rid of the scroll etc. I have gone through this article I created a web part as suggested and changed the manifest to "...
user avatar
  • 4,080
1 vote
0 answers
43 views

SPFx - Webparts won't load proper on first load

I'm currently making SPFx Webparts for the SharePoint Online segment. Since some time when I start a new browser session and head over to my 'portal' 1 of duplicates partially to other components. See ...
user avatar

1
2 3 4 5
35