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
1
vote
0answers
21 views

Microsoft.SharePoint.Client list item update (add) clears the Title value

I am working on a ASP.NET 4.5 C# MVC 5 project that integrates with a SharePoint site using Microsoft.Sharepoint.Client. One of the methods must add a SQL record, and thereafter use 2 of that record's ...
1
vote
0answers
12 views

How to Fetch Predecessor Lag and Parent.Id using ProjectServer Getting Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException

Below is the code that I use. using (ProjectContext projContext = new ProjectContext('pwa url')) { projContext.AuthenticationMode = ClientAuthenticationMode.Default; projContext.Credentials = ...
0
votes
1answer
20 views

Is there a way to allow my list's create form (which is customized using power app) to support managed metadata field which allow multiple values

I have a custom list and this custom list has a managed metadata filed which have a hierarchy in its terms + allow multiple values, as follow:- Now when i create a power app's create form, the ...
1
vote
3answers
37 views

Using Power Apps to hide and show fields inside Create and Edit forms

I have a communication online SharePoint site, and i want to implement this user experience :- The user will create a new list item >> select a checkbox. If the checkbox is checked >> he will have to ...
2
votes
1answer
29 views

Automated creating a folder structure based on another list

I have the following requirements to be implemented inside SharePoint online:- We have custom list named "Folder Structure Template", with 10 check-boxes, as follows:- Cost structure checkbox. Asset ...
0
votes
1answer
27 views

How to delete Items from SharePoint Task List using C#? [closed]

I have a scenario where I am trying to permanently delete Items from SharePoint Task List including associated Task History using SSOM C# Model. Does anyone have suggestion achieving it using server ...
1
vote
1answer
75 views
+100

Remote event receiver stop working after deploying them inside azure web app

I am developing a remote event receiver for our SharePoint online dev site. i followed the following steps:- 1- As mentioned in this link https://derekgusoff.wordpress.com/2017/11/08/remote-event-...
0
votes
1answer
30 views

SPFolder.MoveTo is preserving the metadata for the sub-folders while reset the metadata for the root folder

I have the following console application, which moved some folders from one document library to another within the same SP 2013 site collection:- SPList sourceomslist = omsWeb.Lists.TryGetList("...
0
votes
1answer
38 views

Moving old items and documents to another lists/libraries

We have an order management system inside our SharePoint on-premises 2013. and the system has the following 2 main list and library:- Custom list containing the order info. Document library. Where ...
0
votes
2answers
88 views

Improving performance for the Create/Copy files and folders (using code) inside our large document library

We have a SharePoint 2013 on-premises team site and we have a document library which have around 29,000 +++ items, and those files are structured under around 4,000 folders and sub-folder. now inside ...
0
votes
0answers
20 views

Unable to run a Remote Event Receiver using App Only Authentication. Error “Access Denied ”

I want to build a remote event receiver for our SharePoint online development site collection. So i followed the step mentioned in this link @ https://derekgusoff.wordpress.com/2017/11/08/remote-event-...
0
votes
1answer
16 views

Possible to use Co-Authoring via Excel Interop?

When editing an Excel workbook stored on SharePoint / OneDrive via Excel Interop (C# automation): can several agents co-author the file like multiple Excel users can? As a minimum, I require one ...
0
votes
0answers
34 views

On SharePoint-2019 Modern UI,In RenderExtendedListFormData why we are getting wrong ItemId?

On SharePoint-2019Modern UI, When I edit on 10 th Document on sharepoint from sitecollection ,It POST below URL. http://rvsp2019/sites/firstsite/_api/web/GetList(@v1)/RenderExtendedListFormData(...
0
votes
0answers
42 views

Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection..)

I have Visual Studio 2019 and i followed the steps mentioned in this link https://www.tatvasoft.com.au/blog/how-to-implement-remote-event-receiver-in-sharepoint-online/ to create a remote event ...
1
vote
1answer
28 views

how to Parse Sharepoint 2019 modern UI URL Link in C#

I am trying to parse below link of sharepoint Modern UI, Link is mentioned below. http://rvsp2019/sites/firstsite/_api/web/GetList(@v1)/RenderExtendedListFormData(itemId=16,formId=%27editform%27,mode=%...
0
votes
1answer
34 views

How to programatically add/remove person from SharePoint Group in C# Console App?

Dear stackoverflow community: What we have? There is a SharePoint site with various folders and subfolders etc. Excpect for the default SharePoint groups (and their permission levels)- for some of ...
0
votes
1answer
84 views

Debug ItemAdding and ItemUpdating Remove Event Receiver

I have been working on couple of remote event receivers inside our SharePoint online sites. I followed the step mentioned in these links: Working with Remote Event Receivers in a Provider Hosted App ...
0
votes
0answers
29 views

502 bad gateway azure app service + provider hosted add-in

I have a provider hosted add-in deployed to azure web application (app service). I have a long running task, iterate through all site collections (including sub webs) in tenant and perform some task ...
0
votes
1answer
40 views

Workflow 2010 is not firing when creating a new enterprise wiki page (on version 3)

I have workflow 2010 which is responsible to populate a column value (Wiki Page Number), inside my SharePoint online enterprise wiki site collection, as follow:- Now when creating a new enterprise ...
1
vote
2answers
47 views

How to read value of columns WorkflowTaskId and WorkflowListId from SharePoint Task List using C#?

I am trying to read WorkflowTaskId and WorkflowListId fields from SharePoint Workflow Task List using SSOM C# but it says column doesn't exist While I can see both columns are displayed with values in ...
0
votes
1answer
19 views

Assign Managed Metadata column values from source page to another publishing page using CSOM

I am writing a CSOM to get the values of a managed metadata column (sourceWikiPage) and assign it to another page (newpage), here is my code:- File sourceWikiPage = context.Site.RootWeb....
0
votes
2answers
53 views

Unable to get the PageLayout for a PublishingWeb using CSOM. Error “The object is not associated with an object identity”

I am working on a console application which uses CSOM to integrate with SharePoint online. and i want to create a publishing page, so i wrote this code, to get the PageLayout and create a new ...
0
votes
1answer
28 views

Query a single line of text filed using CAML <Contain> will return all items

I have a list inside SharePoint online site collection. the list contain a field named Processed which is of type single line of text, and only one item have a value inside this field while the other ...
0
votes
2answers
138 views

Does CAML query support Does Not Contain

I am working on a console application to integrate with SharePoint Online site collection. and I want a way to get all items that do not contain the word "fail" and do not contain the word "success", ...
3
votes
1answer
192 views

Get Value from SharePoint list into a Checkbox in C#

I have a SharePoint list that contain column 'District' with some data in it. It contains 4 value, District 1, District 2, District 3 and District 4. I want to grab that value 'District' in the ...
0
votes
1answer
20 views

Unable to send email inside my console application. error “No connection could be made because the target machine actively refused it”

I have the following console application, which connect to our SharePoint online site collection and send emails:- using (ClientContext context = new ClientContext(scurl)) { ...
0
votes
0answers
30 views

Set default content in PublishingWebControls:RichHtmlField

I need to add default content in the PublishingWebControls:RichHtmlField. <PublishingWebControls:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server" ID="welcomeText"> &...
0
votes
1answer
21 views

Read Data from Excel file in SharePoint web Part C#

I need to read Excel Data in C# DataTable in my Visual web Part. for this purpose I've uploaded the excel file in a temporary location in a document library, the file upload is successful, now I ...
0
votes
1answer
30 views

How to add the aspx.cs code to get the selected value of radio button as per the aspx page as shown in the screenshot below?

This is the code for retrieving the Question and options dynamically from SharePoint list. How to get the value of selected radio buttons and store it to a variable using the C# or SP code. Can anyone ...
0
votes
0answers
14 views

Dynamic SharePoint Master Page Navigation but scope issue for navigation drop-down

I am having a scope issue and not sure why. I am dynamically creating a navigation with drop-down. It does get created but the drop-down is not rendering even though the caret is showing. I believe ...
1
vote
1answer
40 views

Download multiple files at a time from using HTTP Rest API Calls

I am able to download a file from SharePoint using the API GetFolderByServerRelativeUrl. However I'm looking to download selected files at once from SharePoint. Is there any possibility to do this?
0
votes
1answer
17 views

SharePoint Client Object Model - UndoCheckOut did not work

I am trying to Discard Check Out on a specific Checked Out SharePoint file but I got stuck. Here is my code snippet: //Define a ClientContext with the specific Share Point site Url. var ctx = new ...
3
votes
1answer
46 views

SharePoint Online Webhook with ngrok “Access Denied”

I am trying to follow bellow documentation of Microsoft https://docs.microsoft.com/en-us/sharepoint/dev/apis/webhooks/get-started-webhooks I have given below permission azure app But when I send ...
0
votes
2answers
34 views

Change the permission of all the files in a Document Set of a Document Library to Read-Only

I've got a document library and I want to change the permission of each file present in a particular document set (say Office Documents) to Read-Only when an item is Updated in a List (say List A). ...
0
votes
1answer
21 views

Unable to send email inside my CSOM console application inside our office 365 sharepoint online

I have the following code as part of a console application:- using (ClientContext context = new ClientContext(scurl)) { string s = "***the password***"; ...
0
votes
1answer
48 views

Accessing the items of other List through Event receiver of a List

I have two lists "List A" and "List B" List B has columns: Color [Single line of text] Description [Multiple lines of text] and now how can I get the "Color" and "Description" of the second Item ...
2
votes
2answers
67 views

Approaches we can follow to grant certain users permission on a list item based on a multi-values People or Group field

I have a custom list inside SharePoint online site collection. and i have the following requirements:- Allow all users to submit new items, but they can not view any item (even the one they have ...
0
votes
0answers
22 views

Set folder permissions when creating folder - nodejs

I have a document library with several folders for different projects. I have projectConsultant user who has read & write permissions to all these folders. There is also projectClient who has view ...
0
votes
1answer
19 views

(C#) Check SPGroup is empty or not

How to check if there are users in the group or not? string groupName = "Home members"; using (SPSite Site = new SPSite("http://sp/sites/test")) { using (SPWeb ...
0
votes
2answers
57 views

Get items from list filtering by ids

I would like to get items from list filter by ids through Microsoft Graph Api. Something like items?$filter=fields/id eq '3' or '4' or '5'. I have to get many elements and I want limit requests. Is ...
0
votes
1answer
90 views

Accessing folders of a document library using Event Receiver of another List

as per my requirement I created a PDF using iTextsharp and i want upload it to a specific document set (dynamic) in a document library when an event receiver is triggered from a list. Can anyone ...
0
votes
1answer
33 views

Check user in group (C#)

How to check in C# if the current user is in a group or not? Thanks for help. using (SPSite SPsite = new SPSite("http://sp/sites/test")) { using (SPWeb web = SPsite....
0
votes
1answer
32 views

Approaches i can follow to automate creating sub-folders when we add a root folder inside our sharepoint online document library

I am working on a online document library inside out modern team site. and i want to automate the following:- 1- when a user create a root folder inside the document library, to create some sub-...
0
votes
0answers
15 views

Include Suitebar on custom application

I have a custom application built using VueJS and SharePoint Rest apis that is hosted on SharePoint, I am looking to include the suitebar, does anyone have any experience on this, specifically looking ...
0
votes
0answers
20 views

Customize SharePoint Document library check-in page

Is it possible to customize SharePoint Document library check-in page. I want to customize the page with some js work. Basically I need to display some fields from another list in this page.
1
vote
1answer
25 views

ListItem.Update() triggers validation of all properties

I need to do a scheduled or manually trigger update on some hidden properties of files and folders. The items all have different content types with different properties, but the hidden properties are ...
0
votes
1answer
36 views

Grey-out disabled “Managed metadata” & “Multiple-line of text” fields

I am working on a custom list inside SharePoint online team site. and inside the list's Edit form i want to set a managed metadata field (titled "Customer Name") and a multiple-line of text field (...
0
votes
2answers
58 views

Unable to set a People or Group field as Read-Only inside our edit form

I have a custom list inside sharepoint online site, and inside the list's Edit form i want to disable a People or Group field named "Project Manager" using jQuery, but i am not sure if this is ...
0
votes
0answers
51 views

Authenticate SharePoint online REST API without user name and password

I am trying to build a console app that reads the data from SharePoint list. But i dont want to pass the user credentials in order to authenticate, instead use the token. Is this possible? I tried ...
0
votes
0answers
20 views

How to Approve more than one request using nintex workflow using Custom C#

we develope custom webpart to display my tasks using Nintex Workflow my tasks appear in listview using C# we want to add checkbox field in listview to check in tasks that i want to approve the ...