Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
General technical questions about the SharePoint Framework client-side development model.
0
votes
3
answers
416
views
How to build a CAML query from a string of data in JavaScript?
I have a string 'listOfUsers' which is in the format user1;user2;user3;user4;user5;user6;
This string could have any number of users.
I would like to build a CAML query which will find all those users …
0
votes
1
answer
541
views
CAML Query when using Or fails giving "Cannot complete this action"
I am creating an SPFX web part which queries a list in SharePoint Online
This works fine:
camlQuery = "<Query><OrderBy><FieldRef Name='LinkTitle' Ascending='TRUE' /></OrderBy></Query>"
It brings back …
0
votes
1
answer
5k
views
Graph API filter query says "The specified filter to the reference property query is current...
I am displaying users from certain groups within an SPFx web part for SharePoint Online. …
0
votes
1
answer
43
views
What is the best way to shuffle the results that come back from a Graph query?
I have an SPFx web part for SPO which gets the members of a team. What's the best way to shuffle the 'result' data that comes back? …
0
votes
1
answer
1k
views
I can get M365 user information using Graph but I can't get their profile picture
I have created an SPFx web part (no framework, SharePoint Online) which will show all the members of a given group.
It displays their name, email, job title etc ... …
0
votes
1
answer
217
views
Get other columns for a React Accordion Web Part?
Im using this tutorial
https://www.c-sharpcorner.com/article/how-to-use-pnp-react-accordion-control-in-spfx/
to display items from an SPO list in a React Accordion. … enter the list name in property pane configuration.' }); } }
SPService.ts
import { WebPartContext } from "@microsoft/sp-webpart-base";
//import { sp } from '@pnp/sp/presets/all';
import { spfi, SPFx …
0
votes
1
answer
1k
views
SPFx web part to get data from Azure AD - Getting some values but not others
I have an SPFx web part and I wish to display the users within a group.
I am trying to get their Display Name and other data (Email) but I get null for their Display Name. …
0
votes
1
answer
1k
views
Trying to get all the members of an M365 group using SPFx
¨PnPJS Graph : how to list all members of a Group
I am getting an error
Uncaught (in promise) Error: There is no Graph Client available, either set one using configuration or provide a valid SPFx Context …
0
votes
2
answers
419
views
Two instances of an SPFx web part that use some simple JavaScript code are failing ... How d...
I have written a simple SPFx web part that uses JavaScript to show and hide items from a list using JavaScript. …
0
votes
1
answer
495
views
In SPFx is it possible to check if we're getting data from a List or a Document Library?
I use PnP in an SPFx web part. I'm wondering is it possible to know if its a Document Library or a List that's being access in getByTitle? …
0
votes
0
answers
153
views
SPFx webpart with No Javascript Framework is it possible to style buttons to the Office UI F...
In an SPFx webpart which has No Javascript Framework is it possible to style buttons and other elements to the Office UI Fabric to make them look like OOTB? …
0
votes
1
answer
491
views
In a React Web Part can you have the 'columns to show' as a property?
I have a React SPFx web part which will display specific columns in a Document Library.
Would it be possible to have a property (say columnsToShow) that could define which columns to show? …
1
vote
1
answer
2k
views
SPFx - How to get the URL and description from a hyperlink?
I'm trying to create a React SPFx web part which can render items from a SPO list.
I am having difficulty if the column is a Hyperlink. (I can get the value if it is a string). …
0
votes
1
answer
66
views
Unreachable code detected in SPFx web part
I have created a React Web Part which is trying to show some data in an unordered list. Nothing fancy at all!
I can't for the life of me see what is wrong here but I'm being told my return in the _onR …
1
vote
1
answer
5k
views
SPFx "Task never defined: serve" after upgrade to gulp 4
My environment is now giving me errors after upgrading ...
C:\work\SPO\webparts\solution>npm ls -g --depth=0
C:\Program Files\nodejs
+-- @microsoft/[email protected]
+-- [email protected]
+-- npm@6 …