Skip to main content

Questions tagged [development]

The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
875 views

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

I want to connect to SharePoint online SharePoint admin center using this code: Connect-SPOService -url $TenantAdminUrl -Credential $SPCredential but I keep getting this error: Message: The ...
John John's user avatar
0 votes
1 answer
19 views

Changing a Web's Url in an EventReceiver via Code

I'm building a SharePoint Farm Solution and want to know if it is possible to change a Web's URL from Code. Imagine I have a Page (http://page), that page has a list (http://page/Lists/projects). ...
Saik's user avatar
  • 13
0 votes
1 answer
997 views

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

I am trying to run this command for my SPFx gulp serve --nobrowser,, but i am getting this error:- C:\Windows\System32>d: D:\>cd D:\Systems D:\Systems>gulp serve --nobrowser [13:23:37] ...
John John's user avatar
0 votes
1 answer
713 views

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

We are developing an SPFx web part, and using VS code & Chrome debugger extension >> I debug the code:- and we specify to debug inside a hosted Workbench:- { "version": "...
John John's user avatar
0 votes
1 answer
650 views

Property 'context' does not exist on type 'DocumentsViewerWebPart'

I have the following code inside my .ts file in SPFx web part:- export default class DocumentsViewerWebPart extends BaseClientSideWebPart<IDocumentsViewerWebPartProps> { private _themeProvider:...
John John's user avatar
0 votes
0 answers
1k views

Cannot find module 'react' or its corresponding type declarations.ts(2307)

Inside our SPFx web part we are getting this error: So inside the SPFx directory, I ran these 2 commands: npm install react npm install --save-dev @types/react But we are still getting the same ...
John John's user avatar
0 votes
1 answer
3k views

My SPFx compatibility between SPFx & Node.js

Inside my node.js I have the following version: D:\SPFx Systems>nvm list * 14.18.1 (Currently using 64-bit executable) 12.22.7 10.24.1 8.17.0 And inside my SPFx I have this inside ...
John John's user avatar
0 votes
2 answers
199 views

SharePoint online - Delete orphaned user C#

I want to delete Orphaned user from a site collection in C#. I can remove the user from group or remove the permission but I am not able to delete completely from the site collection ( user ...
Saira's user avatar
  • 608
0 votes
1 answer
381 views

Debug my Remote Event Receiver using Ngrok will return this error "The remote server returned an error: (401) Unauthorized

I have the following code inside my remote event receiver:- public void ProcessOneWayEvent(SPRemoteEventProperties properties) { int listItemID = properties.ItemEventProperties....
John John's user avatar
0 votes
0 answers
67 views

What are the approaches we have to move content types and their fields from test to production

We have 2 SharePoint online tenants, Test and Production. and we have some content types (which have columns) inside the Test tenant that we want to move to the production. so what are the available ...
John John's user avatar
0 votes
1 answer
53 views

What are the appraoches we can use to show "Google my business reviews" inside SharePoint modern page

We have an account with google where we have Google my business reviews. so can we embed these reviews inside SharePoint online?
John John's user avatar
0 votes
1 answer
259 views

Can we show a Shared Mail Box calendar inside SharePoint modern page

We have a Shared Mailbox calendar inside Office 365 for showing the Holidays & Leaves. Now can we embed/show this calendar inside SharePoint modern page? Thanks
John John's user avatar
0 votes
1 answer
240 views

customize list view web part using custom xslt in SharePoint Online

Inside our SharePoint 2010 we do some list view modifications using XSLT, similar to the one described in this link @ https://mundrisoft.com/tech-bytes/how-to-customize-list-view-web-part-using-custom-...
John John's user avatar
0 votes
1 answer
5k views

Can we Embed Linkedin Page inside SharePoint

Inside our SharePoint online modern home page >> we have embedded our Twitter page and Facebook page. but we did not find any option to embed our LinkedIn page.. can anyone advice if this is ...
John John's user avatar
0 votes
0 answers
148 views

SPFx Vs Power Apps for building Polls and Forms that are shown inside modern pages

I am starting new SharePoint Online project, and we need to add those 2 components inside the site modern home page:- Polls which contain checkboxes to submit >> each user can submit one time. ...
John John's user avatar
0 votes
1 answer
68 views

Can i embed the new arrival section from Monday.com inside SharePoint Online using IFrame

I am new to Monday.com platform, But i am working on a SharePoint modern page, and i got a requirement from our customer to show the following info (new arrivals) from Monday.com inside SharePoint ...
John John's user avatar
0 votes
1 answer
329 views

Show the User Outlook Personnel calendar inside SharePoint modern page

Inside our communication site home page >> we want to show the login user Outlook personnel calendar. So is this possible? using built-in web parts or using Power Apps? Thanks
John John's user avatar
0 votes
1 answer
594 views

Change the Background color of the top navigation for our site and add a button

I have a modern communication site inside our SharePoint Online tenant, and we want to do the following modification to our top navigation area:- Change the background color to be dark blue Add a ...
John John's user avatar
0 votes
1 answer
750 views

Get the Folder GUID using Power Shell

I am trying to get the folder GUID using its URL, i tried this power shell:- #Variables $SiteURL = "https://*****.sharepoint.com" $ServerRelativeUrl= "/Shared Documents/FolderA" ...
John John's user avatar
0 votes
1 answer
109 views

How to Copy all the site collections from one web application to another?

I have an two web-applications. https://source.company.com and https://destination.company.com. I want to make a copy of the site collection from source to destination within the same farm. On source, ...
Puneeth C's user avatar
1 vote
1 answer
799 views

Using "Allow members to share the site and individual files and folders." will make the site got messy overtime

Inside each SharePoint site there is an option to allow members to Share files with other members using this setting:- My question is when we should allow this? as per my experience, if we allow ...
John John's user avatar
1 vote
1 answer
191 views

PnPJs Modern site webpart without SPFx - 404 error

Want to use PnPJs on a content editor webpart added to a modern page. All attempts to use pnp results in a 404. What is seen is that pnp is inserting /SitePages into the API call. https://{server}/...
DiveWoot's user avatar
1 vote
0 answers
150 views

Extract files and folders from SharePoint 2013 document library to local folder

We have a SharePoint document library inside SharePoint 2013 on-premises. the document library contains around 1 TB of files and folders. now we want to extract those files and folders from SharePoint ...
John John's user avatar
0 votes
1 answer
537 views

Choice field which allow multiple selection, is not showing inside the "Filter field" inside the "PnP - Search Filters"

We have a SharePoint list column named "category", as follow:- and it has a managed property & crawl property, as follow:- but inside the "PnP - Search Filters" web part this ...
John John's user avatar
0 votes
1 answer
226 views

Get the Outer XML inside Power automate

I am converting a Nintex flow into Power Automate flow, where inside the Nintex we have this extract XML step;- For getting the outer xml and store it inside a Collection, our xml has this format:- &...
John John's user avatar
0 votes
1 answer
642 views

Creating an external sharing report programatically

I need to create a report detailing external users and what they have access to on SharePoint sites. I suspect exactly like this: https://docs.microsoft.com/en-us/sharepoint/sharing-reports I need to ...
MM1010's user avatar
  • 33
1 vote
1 answer
73 views

Add file to document library, title not getting updated

var htable = new HashTable(); htable.Add("Title", "Value1"); htable.Add("OtherField", "Value"); web.Files.add(fileName, buffer, htable, true); ...
David's user avatar
  • 39
0 votes
1 answer
51 views

Get all the items inside SharePoint list which have their Ids inside a collection without raising any delegation errors

I have 2 SharePoint lists:- Parent_1. Child2 . has a ParentId field which store the Parent_1 id in a single line of text. Now i want to do these 2 operations:- Build a collection which contain all ...
John John's user avatar
0 votes
1 answer
1k views

Show all fields inside a Power apps form in a Vertical layout of 1 column instead of 3 columns on small screen sizes (mobile screens),

I am trying to make my Power Apps standalone have a responsive design similar to Bootstrap effect. where if we have a form with 3 columns, as follow: Now if we view this form using Power Apps mobile ...
John John's user avatar
2 votes
2 answers
5k views

Error "Token request failed" when connecting to SharePoint site via PnP.Framework

New console application on .NET Framework 4.8 with latest PnP.Framework pack. Code as follows: string siteUrl = "https://site.sharepoint.com/sites/DigitalInitiativePublicRelations"; string ...
MM1010's user avatar
  • 33
3 votes
2 answers
3k views

Unable to connect to my online site collection using c# console application

I have the following console application to connect to my online site:- using Microsoft.SharePoint.Client; using System; using System.Linq; using System.Security; using System.Linq; using System.Text; ...
John John's user avatar
2 votes
2 answers
886 views

Reading All files in SharePoint Site

I'm using C# Windows application to retrieve all files names from SharePoint Site, I have gone through below answer How to get all the files inside the folder in list it's working perfectly for 1 ...
mothana's user avatar
  • 21
1 vote
0 answers
15 views

Generate PDF for all the sharepoint item details or part of the fields

I want to implement this:- MS Flow >> which get triggered when the item status = "Completed" >> and it will generate 2 PDF files >> save the files to SharePoint document ...
John John's user avatar
1 vote
0 answers
27 views

If Item status = "Completed" >> Show QR code which open PDF inside SharePoint

I have a Power Apps which integrates with SharePoint, and i am trying to implement the following:- If the Item Status is set to "Completed" >> a PDF file will be generated >> ...
John John's user avatar
0 votes
1 answer
13 views

How we can assoaociate a Hub site with Hub site

We have the following sites hierarchy that we want to build inside our company:- *Root Site* *Departments* **HR** HR Central HR Users HR Managers ...
John John's user avatar
1 vote
1 answer
412 views

Authenticate external user on SPO site to access REST API

I'm currently developing a new product for the company I work for and so far I'm using an App Registration with application permissions with SharePoint REST API access, and this works great but ...
DmitriyVdE's user avatar
0 votes
0 answers
164 views

Sync between database tables and SharePoint online lists using ODBC. best approach to do so

We have 5 tables inside a database and we want to sync the data inside those tables to SharePoint online 5 lists. The database tables can be accessed using ODBC. So what are the approaches we have to ...
John John's user avatar
1 vote
1 answer
3k views

SharePoint Online REST API access using AAD Client ID and Client Secret

We are trying to generate token to access SharePoint Online REST API using an app secured by AAD client ID and Client Secret. But getting unauthorized. I see many articles saying either we have to use ...
Srini K's user avatar
  • 429
0 votes
0 answers
22 views

Approaches we can follow to allow our customers to interact with our own APIs using Power Automate Flows [duplicate]

I have more than 6 years of experience in Power Automate & SharePoint. but i am working on a new project which created a challenge for me, to understand from where i should start and which ...
John John's user avatar
0 votes
1 answer
714 views

Get SharePoint Context from Azure Client ID, Client Secret, Site Url

we want to access SharePoint context using Client ID, Client Secret, SharePoint site URL. Existing system we have Client ID, Client Secret, SharePoint site URL, Certificate, Cert Password. But we want ...
Srini K's user avatar
  • 429
1 vote
2 answers
3k views

SPFx to connect to local SQL Server Tables,Stored Procedures & view.. Approaches to follow

I am working on a migration from SharePoint 2010 to SharePoint Online. Where inside the on-premises the customer has a configurable Web Part (Server-side of course), which allow users to do the ...
John John's user avatar
0 votes
0 answers
511 views

How to Upload a file to Sharepoint - problem with login and password

For my WPF program I have followed this example. Everything seems working fine but in the end I get this error: Microsoft.SharePoint.Client.IdcrlException: 'The sign-in name or password does not ...
Luca's user avatar
  • 101
1 vote
2 answers
4k views

Uploading files from node/Express.js server to sharepoint

I'm trying to send a file to a SharePoint folder using the sp-request module. I can upload a .txt file and it opens correctly. But when uploading .docx files, the file becomes corrupted. My collection ...
Marcos's user avatar
  • 23
0 votes
1 answer
318 views

Customizing SharePoint forms using Power Apps Vs Building standalone apps? Can I have a hybrid approach

We have a development SharePoint online site >> and its lists' forms have been customized using Nintex forms. Now we are on the stage of converting the Nintex forms to Power Apps. and we have 2 ...
John John's user avatar
0 votes
1 answer
146 views

What is meant by Computed column? can we modify it?

I am working on a client SharePoint online tenant, and they have a column of type Computed, as follow:- where users' submit answers from a Power app and the field will either show Passed or Failed.. ...
John John's user avatar
3 votes
2 answers
490 views

Is storing the Address as Custom Property for the our Customer term-set a valid/recommended approach

We have a term set named Customer, which is been used inside lists and libraries on multiple site collections inside our SharePoint online tenant. Here is the term set:- And here is one list which ...
John John's user avatar
1 vote
0 answers
106 views

Can we show a modern Calendar view for our Event list inside our modern communication site

We have created a modern communication site, which comes with a Event list, as follow:- now we are trying to show a modern Calendar view inside our modern page for this Event List, but we only got ...
John John's user avatar
0 votes
1 answer
362 views

spservices.js.Error:- Uncaught (in > promise) TypeError: Cannot read properties of undefined (reading > 'LookupList')

Inside our SPFx web part we have the following code inside the spservices.js code:- spservices.prototype.getLookupFieldOptions = function (siteUrl, listId, fieldInternalName) { return ...
John John's user avatar
0 votes
2 answers
54 views

what is the purpose of running npm install on a 3rd party SPFx

I want to install this SPFx https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-enhanced-list-formatting where inside the instruction it mentioned 2 run those 2 commands after cloning ...
John John's user avatar
0 votes
0 answers
58 views

Unable to get the JSON of the Red theme. Error "Get-SPOTheme : Unknown Error"

We need to modify some color codes for the built-in Red theme:- So i tried running this command to get the JSON of the Red theme, but i got error:- PS C:\WINDOWS\system32> Connect-SPOService -url ...
John John's user avatar

1 2 3
4
5
92