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
20 views
+50

ItemUpdating remote event reciever is not firing

I am following the steps mentioned in this link to create a Remote Event Receiver inside our SharePoint online site collection @ https://www.enjoysharepoint.com/create-remote-event-receiver-sharepoint-...
1
vote
1answer
29 views

Setting up a “garage sale” on sharepoint

Our company is looking to sell a number of retired electronics (computers, etc). Previously we would have someone manually monitor and make sales, however this has proven to be inefficient in a large ...
0
votes
0answers
23 views

Unable to remove a Remote Event Receiver attached to a list using Remove-PnPEventReceiver

I have a remote event receiver which is attached to a list. so i want to remove it, but when i try this PnP script using the Office 365 admin:- Remove-PnPEventReceiver -List "Our Project" -Identity "...
0
votes
1answer
26 views

App catalog is not showing in site collection of SharePoint Admin Center

I am working on SharePoint add-ins to create a remote event receiver. I have generated .app file and need to deploy on my SharePoint site. I followed the following reference to create app catalog for ...
2
votes
0answers
115 views

Remote event reciever is not firing after deploying it to azure

I am working on a remote event receiver inside our root site collection (i am following the steps in this link https://derekgusoff.wordpress.com/2017/11/08/remote-event-receivers-youre-all-doing-it-...
1
vote
2answers
39 views

Unable to move custom list items from one list to another using server-side object module

I have 2 list named "ActiveItems" and "ArchItems". i wrote the following code to move some items from the "ActiveItems" to the "ArchItems":- using (SPSite omsSite = new SPSite("http://****/")) //...
1
vote
1answer
15 views

Unable to get the current item properties inside my Remote Event Receiver. I got the After and Before only

I have the following code inside my remote event receiver: public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) { var currenttitle = properties....
0
votes
1answer
16 views

Unable to assign a value for my DateTime field inside a Remote event recevier. Error “Invalid date/time value”

I have the following code inside my remote event recevier, to assing a value for a Date Time field, as follow:- public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) { ...
0
votes
1answer
29 views

Remove excess height size on SharePoint list

Hi Developers, We had SharePoint list and we customised the list as per our requirement. But we are facing some excess space height issue on list. Please refer attached image. We want to remove the ...
1
vote
1answer
31 views

CSOM C# Copy Library from one Site Collection to another with all folders / subfolders intact

Any help would be appreciated here. Below is my attempt to copy files and folders from one site collection to a completely different site collection. The structure from one side to the other should ...
0
votes
1answer
23 views

How I can update Location Field in SharePoint Online using CSOM C#?

I need to update the value of newly introduced column "Location" field in SharePoint Online Via CSOM C#. is it possible to do so? I tried using FieldLocation and FieldGeoLocation classes but unable ...
0
votes
3answers
38 views

Unable to get the custom list item versions using (ListItem.Versions) inside my CSOM

I have the following code inside my console application:- CamlQuery camlQuery2 = new CamlQuery(); camlQuery.ViewXml = "<View><Query><Where><Neq><FieldRef Name='ProjectStage'...
1
vote
1answer
48 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
14 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
23 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
60 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
2answers
39 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 ...
1
vote
1answer
95 views

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
33 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
41 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
90 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 ...
1
vote
0answers
25 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
20 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
44 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
82 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
29 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
39 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
90 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
1answer
90 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
48 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
25 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
57 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
32 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
154 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
213 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
22 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
34 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
2answers
39 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
31 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
76 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
54 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
35 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
22 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
23 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
22 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 ...

1 2 3 4 5 84