Skip to main content
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
Results tagged with
Search options answers only not deleted user 69998

Technical questions about building and using web parts based on the SharePoint Framework client-side development model.

2 votes
Accepted

SPFX: How to build a welcome web part where that web part displays the current user login na...

To build a welcome webpart, microsfot has a very well documented steps given here. Here in step 7, they have declared some default properties to show on webpart. like description, test, etc. Similar …
Ganesh Sanap - MVP's user avatar
1 vote

This function always return extra values

I guess you need to clear everything inside drpOptions in _getSiteColumnData function, before concatenating the choices and returning the drpOptions.
Ganesh Sanap - MVP's user avatar
3 votes

Calling external API in SharePoint framework

Your SharePoint site must be loaded over https and you are calling insecure http request. So the request will get blocked on SharePoint workbench. Instead you can try calling GET call on any of your …
Ganesh Sanap - MVP's user avatar
6 votes

Is it normal that SPFx Webpart folders are huge

Yes this is normal. This folder size is mostly because of node_modules folder in your SPFx project. If you want to share the SPFx package with anyone, you can share it by excluding the node_modules an …
Ganesh Sanap - MVP's user avatar
0 votes

I want to use sharepoint site asset folder for hosting client side files, where should I def...

If you are looking for hosting your client-side web part from Microsoft 365 CDN then check below references: Host your client-side web part from Microsoft 365 CDN SharePoint Framework - Deploy SPFx W …
Ganesh Sanap - MVP's user avatar
0 votes

How to find out is a current user in a group

Try using something like below: import { SPHttpClient, SPHttpClientResponse, ISPHttpClientOptions } from '@microsoft/sp-http'; var absoluteUri = this.props.context.pageContext.web.absoluteUrl; thi …
Ganesh Sanap - MVP's user avatar
2 votes
Accepted

SPFX webpart “Deploying a domain isolated package on a site collection app catalog is not su...

It seems like in your web-part the isDomainIsolated property to true in the config\package-solution.json file. Change the value of this property to false and then package your web-part and re-upload i …
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

The Framework Tiles from SP-Starter-Kit is not working

Try running below commands in your package folder: npm install npm install @pnp/spfx-property-controls --save --save-exact gulp serve gulp trust-dev-cert Then while packaging your solution run bel …
Ganesh Sanap - MVP's user avatar
0 votes

How to setup the environment for the sample sp-dev-fx-webparts - client-side web part samples

Follow below steps: Copy a single/specific folder corresponding the web-part you want to use. Open that folder in Node JS command prompt. Run the command: npm install. Run the command: gulp build. I …
Ganesh Sanap - MVP's user avatar
0 votes

How get values that return sp.site.createModernTeamSite in pnpjs

The createModernTeamSite function is async which returns Promise<void>. So, you need to await while it returns some value. You can use your code like below: import { sp } from "@pnp/sp"; sp.site.cr …
Ganesh Sanap - MVP's user avatar
1 vote

SPFX - Inlcude Static Files in the Solution Package

According to SharePoint PnP Webcast – Including assets in SharePoint Framework solution packages, Starting from version 1.4 JavaScript assets and other static solution files are automatically include …
Ganesh Sanap - MVP's user avatar
-1 votes

cdnBasePath in Modern Web Parts

You can setup a new Office 365 CDN in your tenant wherever you want to deploy your assets. Follow below steps to setup and get the path you want to set to cdnBasePath: Open a SharePoint site which y …
Ganesh Sanap - MVP's user avatar
2 votes
Accepted

How can I obtain the Teams Context in Sharepoint?

Try using if (this.context.sdks.microsoftTeams) instead of if (this.context.microsoftTeams). Property this.context.microsoftTeams has been deprecated starting from the v1.10 release and you should …
Ganesh Sanap - MVP's user avatar
0 votes

Is there any option to filter my planner tasks using graph api?

Microsoft Graph List tasks does not support any query parameters like $filter at this moment. So, you have fetch all your tasks and then apply filter at the client side.
Ganesh Sanap - MVP's user avatar
0 votes

how to render or display data in react useeffect hook

You cannot directly bind the JSON object to DOM element. You have to loop through the list items & then bind individual property to DOM. Check below article for detailed information: SharePoint Framew …
Ganesh Sanap - MVP's user avatar

1
2 3 4 5
13
15 30 50 per page