New answers tagged

0 votes

Changing Date Format in Sharepoint DateTimeControl Visual Studio

Per my research, you can set Regional in site setting. By default, SharePoint Online sites display the dates in US format (MM/DD/YYYY). You may want to change the date format based on the country you ...
user avatar
0 votes

Changing Date Format in Sharepoint DateTimeControl Visual Studio

Dates in SharePoint are stored in UTC, which is most likely why it's returned in that format when you're fetching the date programmatically. SharePoint sites have regional settings where you can ...
user avatar
0 votes
Accepted

Changing a Web's Url in an EventReceiver via Code

It should be possible to change url using the SPWeb.ServerRelativeUrl property. https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-server/ms476956(v=office.15)
user avatar
1 vote
Accepted

Connect-SPOService ... Error "The underlying connection was closed: An unexpected error occurred on a send"

You can use SharePoint Online Management Shell to connect with multi-factor authentication (MFA) enabled SharePoint site using below command: Connect-SPOService -Url https://contoso-admin.sharepoint....
user avatar
  • 28.2k
2 votes

"gulp serve --nobrowser" is raising this error "Task never defined: serve"

It sounds like your system may not be properly configured. The first step is to check to see which version of SPFx you have installed. You can do this by running npm list -g --depth=1 @microsoft/...
user avatar
  • 11.5k
0 votes

Debug our SPFx web part inside VS Code inside a site collection workbench will not show the related web part

I am not sure if this could solve your problem or not but I am sharing my experience when I faced similar kind of situation. Problem : Spfx webpart is not appearing https://siteURL/_layouts/workbench....
user avatar
  • 455
2 votes
Accepted

My SPFx compatibility between SPFx & Node.js

Yes, Node.js v14 and SPFx v1.14 are compatible with each other. Check detailed SPFx compatibility matrix at: SPFx development environment compatibility Answer to your 2nd question: Node.js v14 is the ...
user avatar
  • 28.2k
0 votes

SharePoint online - Delete orphaned user C#

I am sharing it just incase someone is looking for the solution that I just found. web.SiteUsers.RemoveByLoginName("loginNameHere"); This will delete/remove the user from the site ...
user avatar
  • 455
1 vote

SharePoint online - Delete orphaned user C#

Don't do this. Leave the user there and remove their permissions. It doesn't help anything to remove them and if that user is referenced in any content on the site, that content risks getting broken.
user avatar
  • 7,778
0 votes

Authenticate external user on SPO site to access REST API

There's another way you can enable consuming and modifying SharePoint data. You can use Power Automate (https://flow.microsoft.com) to create a flow with an HTTP trigger and then the first action is ...
user avatar
  • 11

Top 50 recent answers are included