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
15 views

Users with contribute permission can call REST API to Break Role Inheritance , but can not make a REST API call to get all role assignments

I have a power automate flow which runs under a user who have Contribute permission on a list item, the flow consists of 2 actions:- First action is to break role inheritance, while the second flow ...
  • 984
0 votes
1 answer
11 views

Getting a file by serverrealtive url is raising this error "Server relative urls must start with SPWeb.ServerRelativeUrl"

We have a SharePoint onpremsies 2019, and inside it we have a site collection as follow:- https://ourcompany.com/sites/ABC so we are trying to get the details of attachment inside a list named ...
0 votes
1 answer
41 views

Capture the users clicks inside our SharePoint modern home page (how click on quick link modern news, etc..)

We have a SharePoint online modern page which contains, those main Web Parts:- Quick links News web part now we want to capture the users clicks and store them inside a SharePoint online list to ...
  • 984
0 votes
0 answers
8 views

How to Dynamically Link a Reusable 2013 Workflow to a List

Situation is pretty specific. Here is how it is done currently, please point out any issues you notice. We have a SP 2013 workflow that we export as a .wsp via SharePoint Designer to then deploy at ...
  • 13
0 votes
0 answers
8 views

Document Library with required fields and attached EventReceiver doesn't update item in time for the popup to reflect changes for the user

I have a document library which has some custom values, some of which are required to fill out. When a user uploads a Document sharepoint asks him to fill out those values and refuses to check the ...
  • 13
0 votes
1 answer
26 views

Decrypting SharePoint shared URL using C#

Is it possible to decrypt the SharePoint shared URL like this one using c#: https://xxx.sharepoint.com/:v:/s/xxxxx/Exxxxxxxxxxxxx-xxxx123456sdf?e=Abcdex I have to get the original URL and append ...
  • 1
2 votes
1 answer
28 views

Power Shell script which runs on all the root folders of a document library and set unique permsion to all users to have read-only

We have an online document library which contains around 1000 root folders, and we want to run a Power Shell script which runs on the 1000 root folders ONLY (without the sub-folders) >> then set ...
1 vote
0 answers
11 views

The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both

I have one SSRS Report using SOAP in sharepoint.In my viaual studio code it is showing one error. Compilation Error:The type.Microsoft.Reporting.WebForms.IReportServerCredentials.exists.in both c:\...
0 votes
1 answer
45 views

Build a quiz/survey using SharePoint & Power Apps, which allow none-IT people to create questions and user to submit

I want to build a Quiz/Survey app using Power apps and SharePoint, as follow:- We want admin users (none technical people) to be able to create questions and answers. users will be answering the ...
0 votes
0 answers
34 views

Building public facing web site using SharePoint Onpremises 2019

We have a SharePoint On-premises 2019 and we want to build a public facing web site for the company. So users can access the web site without having to authenticate? Is this possible? If this is ...
0 votes
1 answer
32 views

How to filter query with multiple condition in URL - OData

I want to filter the data with Type 'Com and State 'Disconnected'. With below code i am getting the exception. How do I fix this? Please help! $filter=(contains(Type,'Com') and contains(State,'...
  • 1
0 votes
0 answers
15 views

Can Gulp Serve work with Hosted Workbench

I have an SPFx which i want to debug , so i added the chrome extension inside Visual studio code, as follow:- but when i run Gulp Serveinside node.js, i got this message:- If i click on "Load ...
0 votes
1 answer
24 views

Two way Sync between SharePoint online and SharePoint 2019 document libraries

We have 2 SharePoint environments; SharePoint online and SharePoint on-prem 2019. Each environment contain 40 libraries. and we want to sync the 2 environments, so if a files got added,edited or ...
0 votes
1 answer
22 views

Update Site Name which is connected to Office 365 Group using CSOM

I want to update Site Name using CSOM for SharePoint Site which is connected to Office 365 Group so at the end I want to update SharePoint Site Title and Office 365 Group Name both. I have tried CSOM ...
0 votes
0 answers
16 views

Identifying a file by name from a folder link ad downloading it in C#

I am very new to the C# CSOM api for SharePoint, but I am interested in creating a program that uses it. I currently do software updates from a central server, but I would like to move them onto ...
0 votes
1 answer
28 views

Null exception in Web.EnsureUser CSOM C#

How can handle null exception while copying item from source to destination list as MGR and Account may have users which are not available in organization var employee = contextDestination.Web....
  • 43
0 votes
1 answer
57 views

How to update in SharePoint list using CSOM?

I have written below line which create item in destination list but would like to check if item exist update the column else create new item my Title field is primary key for source & destination ...
  • 43
0 votes
1 answer
46 views

How to upload file from SharePoint online library to S3 bucket using c#

I tried below code and able to upload file in S3 bucket but whenever i open file its show message that its corrupted and file format is not correct but file is getting uploaded static void Main(...
  • 43
0 votes
1 answer
68 views

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

I want to run the following command gulp bundle --ship on this SPFX @ https://github.com/FaganSC/spfxModernCalendar. But i got those error Error: Cannot find module 'webpack/lib/ParserHelpers':- D:\...
0 votes
0 answers
30 views

I am using the js-modern-calendar but is there a way to add eventsdirectly from the calendar view

I am working on this SPFx web part @ https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-modern-calendar .. but can we add the ability to go to specific day and add events? Thanks
0 votes
0 answers
23 views

SPContext.Current.Web.CurrentUser null for some users

on SharePoint 2019 + May 2022 CU (16.0.10386.20011) we have a C# solution containing webservices that we call from SPFx solutions. This worked fine until this week when we got issue report that we ...
0 votes
0 answers
9 views

Can we show a popup before check-in a document inside SharePoint site if a record exists inside datavese

We have a SharePoint document library which have this settings:- Now we want to get the current folder ID >> and after the user click on the built-in check-in button and before doing the actual ...
  • 984
0 votes
2 answers
36 views

Any other performance efficient way to check if SPWeb.Exists

I want to check if a SPWeb exists in a farm. But using the below code will be very costly because every web is opened and checked. Is there any other better way to check if a web exists in a farm? ...
0 votes
0 answers
46 views

Pass file array buffer to Server side object model(C#)

I used following client side JavaScript method to get local file into array buffer. I would like to pass the "arraybuffer" to Web method which contains SharePoint Server side object model(C#)...
0 votes
1 answer
22 views

Creating a Group for a Subsite creates that group for the Parent Site as well

What I'm doing (abstract): A SharePoint List has an EventReceiever at which I'm accessing "ItemAdded" to create a new SPWeb for that new List Item. That subsite needs it's own set of ...
0 votes
0 answers
17 views

Prevent users from entering a value inside a field if they are not inside a SharePoint group

We are working on asset management system inside SharePoint online, here is the scenario:- We have 2 SharePoint groups; Admins & Regular users Inside the Assets list we have a field named "...
  • 984
0 votes
0 answers
19 views

Customizing Document ID in SharePoint Online using a background process

I'm looking to use a custom formula for generating a document ID in SharePoint online. Each document will have: A three letter project code, defined by the "Begin IDs with the following ...
  • 101
0 votes
2 answers
41 views

Changing Date Format in Sharepoint DateTimeControl Visual Studio

I'm currently developing a SP Project using Visual Studio. Apparently the default date format for Sharepoint:DateTimeControl is 'yyyy/mm/dd', by using LocaleId="2057", I can change it to 'dd/...
  • 55
0 votes
1 answer
46 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 ...
  • 984
0 votes
1 answer
18 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). ...
  • 13
0 votes
0 answers
62 views

Failed to load component "6d28e73b-ed80-494e-8238-c0106c26b36a" (PersonalCalendarWebPart)

I want to add the "react-personal-calendar-client-side-solution" to our modern communication site. I followed the exact steps on this link: https://github.com/pnp/sp-starter-kit/tree/master/...
  • 984
0 votes
0 answers
16 views

Requirements we need to prepare to be able to connect to SharePoint online from .net console application and Azure functions

We have 2 SharePoint online tenants which have ApplOnlyPermission disabled, and we need to do the following for creating a scheduled jobs which connect to SharePoint online:- On the first tenant, we ...
  • 984
0 votes
0 answers
28 views

read uploaded excel sheet file and loop through its items to update a SharePoint site column choices inside our SPFx

We have the following Panel to manually add/delete choices inside a SharePoint column named Category:- and here is the related .tsx code for the above Panel:- import * as React from "react";...
  • 984
0 votes
1 answer
141 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] ...
  • 984
0 votes
1 answer
113 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": "...
  • 984
0 votes
0 answers
132 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:...
  • 984
0 votes
0 answers
251 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 ...
  • 984
0 votes
1 answer
159 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 ...
  • 984
0 votes
2 answers
30 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 ...
  • 543
0 votes
0 answers
44 views

Steps to create SPFx web part which consume 2 REST APIs and show their results

We want to create a custom SPFx web part which consume those 2 RESt API: One to get a list of all reviews from Google: https://developers.google.com/my-business/content/review-data#list_all_reviews ...
  • 984
0 votes
0 answers
32 views

Drawbacks and disadvantageous of setting "DisableCustomAppAuthentication to false" inside our tenant [duplicate]

We have a lot of .net console applications which run inside windows on-premises servers, which connect to SharePoint online using ClientID & ClientSecret and perform some background tasks, as ...
  • 984
0 votes
0 answers
34 views

Threshold error inside our CSOM code

I have the following code inside a .net console application, to get 4999 items from a custom list and add them inside a list named customerLiveOrderAllItems to implement paging, as follow: var omsWeb =...
  • 984
0 votes
1 answer
81 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....
  • 984
0 votes
0 answers
20 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 ...
  • 984
0 votes
0 answers
18 views

Display data from On-premsies SQL Server table & from Azure SQL server inside SharePoint modern page

We have 2 SQL Server instances. One which is On-Premises & the other is inside Azure. now we need to have 2 web parts or 2 sections inside our SharePoint Online home page, to show data in tabular ...
  • 984
0 votes
1 answer
29 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?
  • 984
0 votes
1 answer
21 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
  • 984
0 votes
1 answer
39 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-...
  • 984
0 votes
1 answer
675 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 ...
  • 984
0 votes
0 answers
19 views

Parsing sharepoint Modern UI URL Link in C#

How to parse below link of sharepoint Modern UI, Link is mentioned below. http://sharepoint2016:2121/_vti_bin/client.svc/web/GetList(@a1)/Items(@a2)?@a1=DemoSite4/Doclib'&@a2='17' I want to get &...

1
2 3 4 5
91