New answers tagged

0 votes

CSOM API how to find claims accounts unassociated with a site

I found a way to find the Office 365 group but I used the Graph API as well as CSOM. var groups = await graphAPIAuth.Groups .Request() .Header("ConsistencyLevel", "eventual") ....
user avatar
  • 13
0 votes
Accepted

CSOM API how to find claims accounts unassociated with a site

If you are trying to get the SharePoint Id and LoginName of Office 365 group added inside SharePoint groups, use REST API in below format: https://contoso.sharepoint.com/sites/SPConnect/_api/web/...
user avatar
  • 29.2k
0 votes

SharePoint: how to put the box in the header area or navigation?

i already did it. I dont need spfx. i just copy the div and replace something on it
user avatar
0 votes

SharePoint: how to put the box in the header area or navigation?

As far as I know, custom css are not supported by sharepoint modern page any more. We can only use spfx to custom the modern page. Please refer to following document https://docs.microsoft.com/en-us/...
user avatar
0 votes

How can I add a image/shape in navigation bar?

According to my research and testing , unfortunately we cannot add a shape or image in SharePoint navigation bar. Here are a few things we can do: Change the look of your page's navigation style, ...
user avatar
0 votes

SharePoint: how to put the box in the header area or navigation?

You cannot inject custom CSS in modern pages without using SPFx. You can use SPFx application customizer to inject the custom CSS in SharePoint online modern pages. Check more information at: How can ...
user avatar
  • 29.2k
1 vote
Accepted

SPFx Reading a Variable in from a SharePoint list

Even though you haven't answered my question in the comments, I'm going to go ahead and post an answer anyway... Yes, what used to be variables are now being treated like strings because to your ...
user avatar
  • 12.3k
0 votes

How can I add a image/shape in navigation bar?

You can develop a SPFx Application Customizer for adding the floating image/icon on all modern pages in SharePoint online. Here's one SPFx extension sample which does similar things & will help ...
user avatar
  • 29.2k
1 vote

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

You may want to look at this sample repository, and see if you can find something that meets your needs? https://github.com/pnp/List-Formatting/tree/master/column-samples/person-hover-card
user avatar
  • 1,191
1 vote
Accepted

Search functionality Organizational Chart

You may want to check out Joao Mendes' sample web part: https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-organization-chart It should get you started. I hope this helps?
user avatar
  • 1,191
2 votes

How to put image and link under PropertyPane Description field for the web part in SPFx?

Check below web part sample in Github repository where author added hyperlink on web part property pane using custom HTML: Script editor web part for modern pages built in React Specially check these ...
user avatar
  • 29.2k
0 votes

Add Hyperlink at property pane description area

How we can overwrite IPropertyPanePageHeader interface, even if i try to declare the interface in the webpart.ts file, its still refering to index-internal.ts file for the IpropertyPanePageHEader ...
user avatar
1 vote

Adaptive Cards Cannot add description property

According to my research and testing, we cannot add "Description" . IImageCardParameters interface only has imageUrl and primaryText properties. Thanks for your understanding. More ...
user avatar
1 vote

SPFX WebPart - Passing variable to Property Pane

for anyone who is interested! I have resolved this in the props I changed editLinkItem:Function; to editLinkItem:(id: string) => void;
user avatar
  • 13
1 vote

Adaptive Cards Cannot add description property

As per the Microsoft official documentation of IImageCardParameters interface it has two properties: imageUrl primaryText Also, this interface extends the IBaseCardParameters interface which has ...
user avatar
  • 29.2k
1 vote

trying to bundle https://github.com/FaganSC/spfxModernCalendar will raise this error "Error: Cannot find module 'webpack/lib/ParserHelpers'"

First of all, make sure that NPM is up-to-date. npm i -g npm Check version of Webpack. The version 5 (and after) is not currently supported by @angular-devkit/build-angular@0.8XX.X (source). Clean ...
user avatar
3 votes
Accepted

I am using the js-modern-calendar but I want to change the background color for Today block inside the calendar

To change the background color of Today's date cell in calendar, you have to override the below CSS classes in your web part CSS: td.fc-day.fc-today { background-color: aqua !important; } Output: ...
user avatar
  • 29.2k
1 vote
Accepted

Modifying button colors via SPFx is not being reflected

This modern calendar SPFx web part sample uses sweetalert2 library for showing dialog/popup. "OK" button on dialog inherits CSS from sweetalert2.min.css file. To change the background color ...
user avatar
  • 29.2k

Top 50 recent answers are included