SharePoint Framework
22 Topicslogin.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 problem. Thanks in advance!2KViews0likes8CommentsHow to Add/Update OOB Navigation Item Target Audience using Rest API/PNP JS in SharePoint Online
Hi, I want to update/add Navigation Item in OOB Navigation with Target Audience and Open in New Tab using Rest API/PNP JS in SharePoint Online Modern. Please guild me on this. Thanks in advance1.3KViews1like1CommentOn a docuement library how to change default name of a new document using SPFx
I started to learn SPFx and i need your help, In a document library i have created a word template, so every time i click on new and select the template a new template creates with name "document.docx". Is there any possibility to change this default name to something else? Thanks1.1KViews1like0CommentsPersonaCard in SPFx Webparts
Hi all, we and our users are quite happy with the display of persona information on modern SPO sites! As we also develop custom SPFx Webparts which display people information, we would like to know if there is any documented way to display the same persona callout dialog?? (perhaps Graph Adaptive Cards) And another "unpopular" question. We also use our SPFx Webparts on classic websites. As all the modern stuff is not available there, I think there is no chance to display this on classic pages ?? Thanks BjoernSolved18KViews0likes10CommentsUpdating a list in SharePoint framework - SPFx WebPart
I have followed this tutorial and this documentation in order to create lists and columns within SharePoint Online. Everything seems to work fine when creating them for the first time. But when I try to modify an existing column within an existing list using elements-v2.xml, after redeploying the app in my app catalogue then updating the existing app, the modified columns haven't been updated. The only thing that works successfully after updating my elements-v2.xml is creating new lists or adding columns to existing lists. My elements.xml, schema.xml and package-solution.json are the same as in the tutorial in the first link. Within elements-v2.xml I have: (I want to add an additional choice on line 24) <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <ListInstance FeatureId="00bfea71-de22-43b2-a848-c05709900100" Title="New List" Description="New list provisioned from v2" TemplateType="100" Url="Lists/NewList"> </ListInstance> <Field ID="{943E7530-5E2B-4C02-8259-CCD93A9ECB18}" Name="SPFxCostCenter" DisplayName="Cost Center" Type="Choice" Required="FALSE" Group="SPFx Columns"> <CHOICES> <CHOICE>Administration</CHOICE> <CHOICE>Information</CHOICE> <CHOICE>Facilities</CHOICE> <CHOICE>Operations</CHOICE> <CHOICE>Sales</CHOICE> <CHOICE>Marketing</CHOICE> <CHOICE>New Choice</CHOICE> </CHOICES> </Field> </Elements> Within my upgrade-actions-v2.xml I have: <ApplyElementManifests> <ElementManifest Location="4d9c0146-1219-986c-8d4e-984b42efd732\elements-v2.xml" /> </ApplyElementManifests> <AddContentTypeField ContentTypeId="0x010042D0C1C200A14B6887742B6344675C8B" FieldId="{943E7530-5E2B-4C02-8259-CCD93A9ECB18}" PushDown="TRUE" /> Does anyone have any suggestions on how I can modify an existing column using spfx?4.6KViews0likes2CommentsHow to deploy SPFX Field Customizer solution automatically on all sites
Hi, I have created one SPFX field customizer solution to customize look & feel of column in document library. I am creating that column when we install the SPFX field customizer. I would like to install the this solution automatically on all sites of site collection. I am deploying the SPPKG file on site collection level app catalog. I have set skipfeaturedeployment = true in package-solution.json still it is not installing the solution on all sites. If I will install it manually then it works fine with particular site. Need help to install automatically on all sites. Thanks,1.1KViews0likes0CommentsSharepoint Online Injecting Datadog script in Modern Pages
Hi! We're using Datadog to monitor the performance/loading time of Sharepoint sites from different locations. To do this we need to embed the Datadog javascript code. All of our sites are using modern pages already. What's the best way to embed the js code so that we can monitor multiple Sharepoint sites.1.5KViews0likes1CommentSharePoint SPFX connected web parts using Dynamic data
I have requirement of connecting to SharePoint Online file viewer webpart from a custom webpart. Plan is to build a custom spfx webpart with dynamic data and file viewer web part can connect to the new webpart which we are developing. According to this https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data we need to know the properties which we need to emit from the new webpart which we need to develop. Is there anyway we can figure format and properties expecting by the file viewer webpart.2.1KViews0likes0Comments