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
1answer
23 views

ExecuteQuery() Vs Load() Vs Update()

I have the following code to retrieve a list item and then to update it. camlQuery.ViewXml = string.Format("<View Scope=\"RecursiveAll\"><Query><Where><Eq><FieldRef Name='...
0
votes
0answers
14 views

populate dropdownlist from an existing sharepoint list

I explain my problem. I can't populate dropdowns with existing lists and filter the results. The existing lists to be popular as in the image are -Attività -Esito -Causale How to do this? ...
0
votes
1answer
19 views

Can we move/copy a customized list forms (using power app) from one tenant to another

I have a communication SharePoint online site collection inside tenantA, the site collection has 3 power-apps which were used to customize its list forms. now i used those 2 commands to re-create the ...
-1
votes
0answers
25 views

Create Empty TaxonomyFieldValueCollection will raise “The collection has not been initialized. It has not been requested ..”

I have the following code inside my SharePoint remote event receiver:- camlQuery.ViewXml = string.Format("<View Scope=\"RecursiveAll\"><Query><Where><Eq><FieldRef Name='ID' ...
0
votes
1answer
18 views

Querying document library (which contain more than 5,000 documents) using FolderServerRelativeUrl will raise error “exceeds the list view threshold”

I have a document library which contain 6,000 ++ items, and i wrote the following code inside a remote event receiver to get the documents which are inside certain folder using FolderServerRelativeUrl,...
1
vote
2answers
25 views

Apply-PnPProvisioningTemplate : The specified user c:0t.c|tenant|5*****c could not be found

I want to copy a site collection from one tenant to another. insdie the source i run this command:- Get-PnPProvisioningTemplate -Out c:\template20.pnp -IncludeSiteCollectionTermGroup inside the ...
1
vote
1answer
43 views
+50

Get-PnPProvisioningTemplate with -IncludeSiteCollectionTermGroup, how will it work if i Apply the template to the same tenanat and to a new tenant

I am reading about the Get-PnPProvisioningTemplate -Out template.pnp -IncludeSiteCollectionTermGroup from this link https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-...
0
votes
1answer
15 views

Get-PnPProvisioningTemplate return this error Get-PnPProvisioningTemplate : Maximum retry attempts 10, has be attempted

I have a communication site collection inside our SharePoint online tenant. and i want to export this site and create a new site based on the exported template, so i run this command:- Connect-...
1
vote
1answer
25 views

SharePoint 2013 is not allowing users with Design permission level, to update a list item when we specify that only creator can edit the item

I have a classic online team site + workflow 2013 which run on a custom list. now inside the custom list we define the following inside its Advance setting:- this means that only the creator of the ...
1
vote
0answers
17 views

Conflictbehaviour fail not working

I'm trying to configure sharepoint to throw an exception when an existing filename is uploaded again. I've tried to set @microsoft.graph.conflictBehavior to fail in order to do this, but my tests ...
1
vote
1answer
31 views

Is it safe to “Get-PnPProvisioningTemplate -Out template.pnp”

I have a communication site collection inside our SharePoint online tenant. and i want to export this site and create a new site based on the exported template, so i am planning to run this command:- ...
0
votes
1answer
21 views

Navigating to upload folder

i need to navigate to an 'upload' folder in the documents folder in code. I can connect to the site ok but not sure how to navigate to that folder. I am attempting to use clientContext.Web.Lists....
0
votes
2answers
18 views

Users are getting Access Denied inside SharePoint workflow 2013, although they have contribute on the list

We have a SharePoint 2013 workflow inside SharePoint designer 2013, as follow:- but when the user create or update a list item and the workflow got triggered, the workflow will stuck on the "started" ...
0
votes
1answer
10 views

How i can add “Installation language” options when installing SharePoint add-in

We have a SharePoint provider hosted app, installed inside our app catalog, as follow:- the app will add some remote event receivers to out lists. the app was working well, but today we have removed ...
0
votes
1answer
21 views

Modify text of access denied

I am trying to modify the text of the message "Sorry, you Don't have access to this page" in the Access Denied page, All solutions found on the net didn't respond to my problem, I am searching the ...
0
votes
1answer
20 views

CAML query return “Value does not fall within the expected range”

I have the following CAML query to iterate over a large SharePoint document library :- do { CamlQuery camlQuery6 = new CamlQuery(); // The RowLimit tells SharePoint to only scan ...
0
votes
1answer
28 views

Using “<Where><BeginsWith><FieldRef Name=\”FileDirRef\“ />” Rreturn Error:- The attempted operation is prohibited because it exceeds the list view [duplicate]

I have the following code inside my remote event reciever, the code will get all the folders and files under a specific folder:- CamlQuery camlQuery6 = new CamlQuery(); camlQuery6 = new CamlQuery()...
1
vote
1answer
32 views

How to set managed meta data value when term is under another term

I have a list containing managed meta data field which is reading data from following term store (picture given below): I am trying to set field value using C# code as below but getting error Error ...
1
vote
2answers
27 views

Copy Custom list content from one site to another site in same site collection

I have two different sites in same site collection but two sites language is different I created two custom lists in both sites with same number of site columns and datatypes but display name of site ...
0
votes
1answer
33 views

How to debug the SharePoint timer job [duplicate]

I have an issue. I need to move a SharePoint external list to a custom list. After some research, I decided to use a SharePoint timer job. Not having coded in C# before all of two days ago, I ...
1
vote
1answer
20 views

Create site/subsite using Microsoft Graph API

Is there any way to create site/sub-site using Microsoft Graph API? I know I can do this using CSOM but I am interested in using Microsoft graph for this particular case.
1
vote
2answers
55 views

properties.ItemEventProperties.AfterProperties inside our remote event receiver will differ for classic and modern UI

I am working on a remote event receiver for a custom list inside our SharePoint online site collection. and I have noted that when editing an item inside the modern UI >> the following fields will not ...
1
vote
1answer
28 views

Is there any official documentation about the Before and After and Current properties for SharePoint lists and libraries inside SharePoint online

I found many links which talk about the Before,Current and After properties inside SharePoint servers for event receivers. but did not find any documentation about remote event receivers for ...
0
votes
1answer
24 views

Using PnPJS Library to display list of data

I'm building a SPFX React webpart. I currently have the webpart on my SharePoint site's workbench page. Here is the code that I'm currently using: private _renderListAsync(): void { // Local ...
1
vote
1answer
25 views

Embedded document library views

I have used the embed app to link to a document library on a different web site within my collection. I have created views in the library for different teams The library displays fine but goes to the ...
0
votes
1answer
23 views

How i can get an Active Directory mail-enabled security group using CSOM

I am working on a remote event receiver, and i want to reference a mail-enabled security group using the email, i tried this:- context.Load(context.Web.SiteUsers); context.ExecuteQuery(); User ...
3
votes
1answer
58 views

Reference/Update the current item inside ItemAdded/ing and ItemUpdated/ing remote event receivers, is it available inside the SPRemoteEventProperties

I am working on remote event receivers, and let say I want to update a field named ProjectID inside my ItemAdded, currently, I am executing a CAML query to get the current item >> update the ProjectID,...
0
votes
1answer
29 views

ExecuteQuery will return this error “Item does not exists it might be deleted by another user” on existing item

I am working on remote event receiver, and i have this code:- Folder folder0 = context.Web.GetFolderByServerRelativeUrl(context.Web.ServerRelativeUrl + "/library3/" + currentFilingSystemItem["...
0
votes
1answer
23 views

Create Form that searches/filters a data list

In SharePoint I created a data list that contains a list of teachers with some other information about the teacher. I realize this list isn't the most practical, but it was imported from a excel sheet....
0
votes
1answer
27 views

Can i get all the folders and files (under all level) inside a main folder using CAML

I have the following CAML query where i am trying to get all the files and folders that are directly and indirectly added to the folder named FolderA:- camlQuery6.ViewXml = "<View Scope=\"...
1
vote
2answers
32 views

What is the simplest way to get all sub-folder and files inside a Folder using CSOM

I have the following code to get the sub-folders and files inside a folder, but this code will not retrieve any sub-folder and files found at deeper level. so can anyone advice how i can get all the ...
0
votes
1answer
16 views

Unable to change the managed metadata fields for my Files and Folders inside my remote event receiver

I have the following code inside my RER:- foreach (ListItem currentFilingSystemItem in collListItem) { Folder folder = context.Web.GetFolderByServerRelativeUrl(context.Web.ServerRelativeUrl + "/...
1
vote
0answers
13 views

Folder.MoveTo will reset the main folder fields. can i preserve them

I am working on a remote event receiver inside SharePoint online, and i have a code to move a folder to another library. now the source and destination libraries have the same content type and each ...
2
votes
2answers
21 views

Unable to modifiy the Folder custom column inside my CSOM

I have the following code inside my CSOM:- Folder folder = context.Web.GetFolderByServerRelativeUrl(context.Web.ServerRelativeUrl + "/library3/" + currentFilingSystemItem["DealName"].ToString()); ...
0
votes
2answers
30 views

CAML query which contain a lookup field and single line of text is returning wrong results

I have a list named "Security Groups" inside my sharepoint online site, which contain a lookup field named Templates and a single line of text named "Folder", with the following sample data:- and i ...
0
votes
0answers
15 views

Running my remote event receiver using elevated privileges by using GetAppOnlyContext instead of CreateRemoteEventReceiverClientContext

I am working on a remote event receiver inside our SharePoint online site, the RER will do some work which require the user to have full control on the site,such as:- The RER will set default values ...
0
votes
0answers
9 views

Unable to get the “vti_filesize” for our document library items inside our sharepoint online remote event recevier

I am working on developing a remote event receiver for an online document library inside a communication site collection. and inside the ItemDeleting RER, i want to check if the item that is going to ...
1
vote
0answers
14 views

Unable to get the App Install error

I have created a provider-hosted add-in which contain Remote event receiver. but when I try to add the add-in inside my site collection (modern communication site), I got one installation error, as ...
1
vote
1answer
31 views

The given value for a taxonomy field was not formatted in the required <int>;#<label>|<guid> format

I have the following code to set the column default values for a library:- var corpTypetaxValue = listItem["CorpType"] as TaxonomyFieldValueCollection; var corpTypeFieldValueArray = corpTypetaxValue....
0
votes
1answer
26 views

How detect saving conflict in synchronous event receiver?

I have the following program. I've developed a synchronous event receiver (ItemUpdating) which is executed when a list item is being changed. I've run into the situation where the code in my event ...
0
votes
1answer
19 views

Current User inside my remote event receiver will always be app@sharepoint

I am working on a remote event receiver which uses app only permission. now i am trying to get the current user who execute the RER:- context.Load(context.Web); context.Load(context.Web.CurrentUser); ...
0
votes
1answer
31 views

The type 'SPFolder' is defined in an assembly that is not referenced. You must add a reference to assembly

I am working on building a remote event receiver, and i added the following nuget package Install-Package Microsoft.Office.DocumentManagement -Version 15.0.0. Then on this line of code:- ...
0
votes
1answer
20 views

Unable to get Security groups inside my CSOM “Group Not Found”

I have a site column of type People/Group named "SecurityGroups" which contain security groups. now i want to get those security groups and add them to our Folder permission. tried the following code:-...
0
votes
1answer
20 views

how to export overlay calendar to excel?

Probably my post is a duplicate of this (post), but I would still like to pose this question again: How can I export overlay calendar to excel? Current functionality will export it as blank. It only ...
0
votes
0answers
20 views

Configure the “Column default value settings” inside our remote event reicever. is this possible

Inside any document library we can set the "Column default value settings", as follow:- but i am working on a remote event receiver, where i created a root folder, as follow:- ...
0
votes
1answer
55 views

How to upload files from C# in ASP.NET to SharePoint Online library

What's the best way to go about uploading files to SP Online from C# ASP.NET Solution Thanks
0
votes
1answer
16 views

Unable to add Sub-Folders using CSOM

I have the following code to create a root folder and sub-folders inside my remote event receiver:- foreach (ListItem i2 in collListItem2) { var templatenumber = isDeal ? "10" ...
0
votes
1answer
23 views

CSOM. check if a folder exsists before trying to add it [duplicate]

I have the followoing code to create a folder inside a document library:- ListItemCreationInformation listItemCreationInformation2 = new ListItemCreationInformation(); // Below are options. ...
0
votes
1answer
11 views

Error “Cannot add a role assignment with empty role definition binding collection`” when i try to grant folders unique permission

I have the following code inside my remote event receiver to grant a folder unique permissions:- RoleDefinition readerDef = context.Web.RoleDefinitions.GetByType(RoleType.Reader); ...
0
votes
1answer
37 views

How i can break the item permission for a list item and assign all the Groups Read permission level

I am working on a Remote Event Receiver, and i want to do the following:- Break item permission + copy the permission. For all the SharePoint groups assigned to a list item >> grant them Read ...

1
2 3 4 5
84