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
0answers
9 views

How to get Shared by and Shared To properties of Sharing links from a document from SharePoint Online using CSOM C#

We have a requirement to retrieve all sharing links from particular document of document library via SharePoint CSOM C#. We are able to get Anonymous sharing links and Organization Sharing links using ...
0
votes
0answers
10 views

Microsoft.SharePoint.Client.ServerException: 'Value does not fall within the expected range.'

I am getting an error when executing below code: ListItemCollection listItems = documentList.GetItems(camlQuery); _clientContext.Load(listItems, items => items.Include( item =&...
1
vote
1answer
8 views

Unable to show the lookup field in datagrid view using CSOM sharepoint online

private void btnGetdata_Click(object sender, EventArgs e) { try { string WebUrl = this.listUrl.Text; string lib = this.txtLib.Text; ...
0
votes
0answers
13 views

How to convert from Microsoft.Sharepoint.Client.ListItem to Microsoft.Sharepoint.Client.File?

I am trying to convert Microsoft.Sharepoint.Client.ListItem to Microsoft.Sharepoint.Client.File. What I have tried returns Cannot convert type 'Microsoft.Sharepoint.Client.ListItem' to 'Microsoft....
0
votes
0answers
7 views

How to get specific info from a SharePoint list element inside a gridview rowcommand to a new aspx?

I'm trying to get this SharePoint list inside my gridview the information that the rows have and by clicking on a rowcommand travel this info to a new aspx to show it in the new one -- C# ASP.NET ...
0
votes
1answer
11 views

base64ToBinary(body('Parse_JSON__-_Current_item')?['imageData']?['data']?['$binary']?['base64'])' cannot be evaluated

I have the following action:- but on run-time , i am getting this error on some items:- Unable to process template language expressions in action 'Compose_-Convert_Base64ToBinary_2' inputs at line '...
0
votes
0answers
23 views

CSOM Search API file Modified date incorrect

I am using the SharePoint CSOM Search API and it appears the Modified property is returning the documents metadata Modified date instead of the SharePoint Modified date you would see a collection view....
1
vote
1answer
40 views

Can we change the Font text & color for our modern SharePoint online UI

I am starting a new SharePoint online project, and the first requirement that came in is to build a POC site for the customer, but they want to define a custom Fonts and Colors for the site to meet ...
0
votes
1answer
18 views

Why using this REST API /_api/web/lists/GetByTitle('Mobile Device Request Form')/items(1473) will not retrieve all the fields

I have the following columns inside a SharePoint Online list: But when I tried to query an item using HTTP request, using this URL: https://****.sharepoint.com/sites/HomeOffice/en-ca/Forms/_api/web/...
0
votes
0answers
18 views

Lookup field which reference a list inside the root SharePoint site did not get mapped inside the subsite power app's form Fields

I have a SharePoint online site collection which contain one sub-site. now inside the sub-site we have a custom list named Device List which contain 2 lookup fields. One lookup field references ...
0
votes
1answer
16 views

how to insert item with attachments to normal list in office 365 using asp.net c#?

I am trying to add item to Office 365 list item, and I did use the below code: public string PostingDeliveryNote(string ProjectName, string SupplierName, string DN_No , string PONo, string ...
0
votes
1answer
18 views

Can i completely hide the "Share" + "Copy Link" inside my custom SharePoint Online lists

I have a communication root site collection inside our SharePoint online tenant, and i have set the following sharing :- But when users access any SharePoint custom list they will get these 2 links:- ...
0
votes
3answers
34 views

Naming standards for our SharePoint columns Internal names

I am working on a new SharePoint site, and we want to create many site columns, so can i know what are the naming standards for site columns' Internal Names inside SharePoint, for example i have those ...
0
votes
2answers
29 views

CSOM CreateAnonymousLinkForDocument share url link

I am trying to generate Anonymous Share URL link(s) for documents using the following CSOM method: internal static string GetFileShareUrl(ClientContext spClientContext, string fileRef){ ...
0
votes
0answers
14 views

limitation on the Lookup field if the list which is been referenced exceed certain number of items

I have a Parent SharePoint online list which is been referenced by 2 lists using Lookup fields. now the parent SharePoint list has 174858++ items as follow:- and when i create new items inside the ...
0
votes
0answers
12 views

Access local workstation files from a SharePoint Farm WebPart developed with VB.Net

I am building a data maintenance and reporting application using VB.Net in a SharePoint Farm project. The application will be hosted in a WebPart that I will deploy in a SharePoint site. Data will be ...
0
votes
0answers
10 views

Update File metadata not working on Modified Date or Create Date with Sharepoint CSOM

I have this code that uploads a file to Sharepoint Online and then tries to modify its metadata. FileCreationInformation newFile = new FileCreationInformation(); byte[] FileContent = ...
0
votes
2answers
46 views

How to update File metadata in Sharepoint CSOM?

I know this question has been asked in the past, but I can't seem to find a working solution. I want to update The CreatedDateTime, ModifiedBy and CreatedBy metadata on a file that I uploaded with ...
0
votes
1answer
30 views

What are the Groups that we can use inside People or Group field .. for example we can not define distribution lists

We are working on an online SharePoint site >> and we added a new field of type People or Group. but my question is which groups we can include inside this field? i tried to add a distribution ...
0
votes
2answers
38 views

Create a copy of a site collection (modern communication site)

I have a modern communication site collection which I used as the development site collection >> and this site contains 3 lists >> the lists refer to each other using lookup fields. Now I ...
0
votes
0answers
10 views

Integration between Zend and SharePoint. Embed the users tickets inside a SharePoint modern page

We have Zend + SharePoint online. I am trying to figure out if it is supported to show the user's Zend tickets inside a SharePoint modern page? Thanks
0
votes
1answer
34 views

Can we build a Staff Directory. show a picture of the person, their title, their phone number, their email and a Chat with me button (through teams)

We have Office 365 + SharePoint online, and I am not sure if we can achieve this inside a SharePoint modern page: Build a list which show a Staff Directory. This could show a picture of the person, ...
0
votes
1answer
72 views

Graph SDK C# - PageIterator.IterateAsync() - Invalid filter clause

I am calling Graph with the SDK in C#, my initial request works fine and I get 200 results but the iterator returns an error with an invalid filter clause. The initial call with the filter works ...
0
votes
0answers
19 views

while reading excel from map folder error: failed due to the following error: 80080005 Server execution failed While Opening Excel App From C# Code

While trying to read excel file in C# console application, i am getting following error: "Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed ...
0
votes
0answers
27 views

Making a friendly design search service

(Sharepoint classic only) Hello, i'm sorry but i'm new to webdesign, what i want to make, is like a shopping list with check or unchecked button (language, doc type and other categories) which would ...
1
vote
0answers
36 views

How can I programmatically prevent tasks rename and deletion on Project Server 2019 in Project Web Access?

How can I programmatically prevent tasks rename and deletion on Project Server 2019 in Project Web Access (/PWA/Project%20Detail%20Pages/Schedule.aspx?ProjUid=00000000-0000-0000-0000-000000000000&...
0
votes
0answers
29 views

Dynamically update the calculated column value based on other values

I have a calculated field of type currency inside SharePoint named Extension4 with the following formula:- now when i added the 3 fields inside power app Extension4,UnitPrice4 (of type currency) &...
4
votes
2answers
100 views

To overcome threshold error on lookup fields, is it recommended/supported if i only store the parent ID inside the child records inside numeric field

I have 2 lists Child and Parent inside a SharePoint online site, where the child list has a lookup field to the parent list. Currently the parent list has 8,000++ items as follow:- so now when i ...
1
vote
1answer
22 views

How to return user email from a custom column "Owner" to an XML from sharepoint online list using CSOM?

How to return user email from a custom column "Owner" to an XML from SharePoint online list using CSOM? This works but bug exists as it sends Microsoft.SharePoint.Client.FieldUserValue[] ...
0
votes
1answer
22 views

Getting Links from an internal web page

I have an internal company's web page and I need to extract a link from that page what I tried is using (var client = new System.Net.WebClient()) { ...
1
vote
1answer
50 views

CSOM SharePoint Search API filter files only

Using CSOM Search API is there a way to filter for only files? Something similar to the following ListItem filter would be ideal: ListItem.FileSystemObjectType.Equals(FileSystemObjectType.File) Ex ...
0
votes
1answer
23 views

How to get ListItemCollection.Files paginated results

I have the following method in place and trying figure out how to update for paginated results using int pageSize & int page parameters. Currently I have pageSize working using CamlQuery RowLimit, ...
0
votes
1answer
29 views

CSOM ListCollectionItems count based on folder path performance issues

I have a design requirement to get total count for ListItemCollection based on Files specified by Folder Path. I currently have the following code in place: using (ClientContext spClientContext = ...
0
votes
0answers
22 views

integrate Azure form Recognizer with SharePoint online document library

I want to extract info from uploaded documents inside SharePoint.. the documents have standard info such as first name , last name, but have more complicated elements such as Check-boxes & ...
0
votes
0answers
27 views

SharePoint 2019 remote event receiver is not firing when receiver service is https enabled

From c# application using CSOM, I have registered events on a particular document repository. Also hosted a RemoteEventService a WCF service which implements IRemoteEventService and implemented ...
0
votes
2answers
20 views

Tag Multiple Files

My scenario : I have over 10k files in different sites. They all have the same content type (same amount of columns) and are found in folders/ subfolders. I need an effective and quick way to add the ...
0
votes
0answers
13 views

SharePoint 2016 on prem - Get managed property UIVersionStringOWSTEXT

I would like to get the latest version of a specific document in our SharePoint environment using document-id and search (within my c# code). There's a managed property called UIVersionStringOWSTEXT ...
0
votes
1answer
20 views

File object created and modified property values vary from ListItemCollection and FileCollection

I noticed some differences in values when calling File obj Created and Modified properties from ListItemCollection and FileCollection. Details below: Below is some old code that fetched files from ...
0
votes
1answer
27 views

CSOM File object ID property

What is the correct way to initialize or call File obj ID property? I don't see it as a default object property. I also tried calling via: File.ListItemAllFields["ID"] That failed. I did ...
0
votes
2answers
22 views

Can we create a custom permission level on our custom list which allow users to create items without been able to view/edit them

We have a custom list inside our SharePoint online >> and we want to create a custom permission level to allow users to create new items, but without been able to edit or even view them. Is this ...
0
votes
0answers
19 views

Unable to hide a column from the New form using PowerShell. Error ""The node to be inserted is from a different document context.""

i have a field of type drop-down with internal name = TicketingType, so i tried the following power shell:- PS C:\WINDOWS\system32> Connect-PnPOnline -Url "https://0**.sharepoint.com/" -...
0
votes
1answer
16 views

Retrieving files from sharepoint returns empty value array

I am able to retrieve list and list items just fine: var client2 = new RestClient("https://preactdk.sharepoint.com/sites/mysite/_api/web/lists/getbytitle('mylist')/items"); client2.Timeout = ...
0
votes
0answers
119 views

Gulp serve “Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.”

I want to build a SharePoint web-part, so i run these commands:- yo @microsoft/sharepoint Gulp serve but when the browser opens i will get an empty screen instead of getting a SharePoint web part + ...
1
vote
1answer
128 views

SharePoint how to ensure user in spfx

I have a question regarding SharePoint development. I'm working on a SPFX webpart for SP2019, the webpart is going to retrieve data from external source and the data will contain AD users. In my ...
0
votes
0answers
46 views

CSOM-Sharepoint online console app c# 'ServerVersion' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'

I am developing a simple code to retrieve item from Sharepoint online List. But on debug, I found an exception is thrown saying ServerVersion 'ServerVersion' threw an exception of type 'Microsoft....
0
votes
1answer
41 views

URL to provision Microsoft New Employee Onboarding sites [closed]

I am reading this article @ provision-neo-hub on how to provision NEO hub sites, but when i click on this link :- I will be redirected to a page to provision the "MICROSOFT 365 LEARNING PATHWAYS&...
0
votes
0answers
39 views

ServerRedirectedURL has no value

Do you have any idea on what maybe the reason why I am getting empty string when using GetWOPIFrameUrl, also having null values on ServerRedirectedURL, ServerRedirectedEmbedURL, and ...
0
votes
0answers
22 views

Executing a CAML query will return this error: "Specified argument was out of the range of valid values. Parameter name: index"

I have the following code inside our console application, to loop through a list of number and query the SharePoint list which is inside a modern communication site: foreach (var r in allrequests....
1
vote
0answers
149 views

I am no longer able to use OfficeDevPnP.Core.AuthenticationManager OR PnP.Framework.AuthenticationManager().GetACSAppOnlyContext

I usually run those command inside my CSOM code to authenticate to Office 365 using ClientId + ClientSecret:- using (ClientContext context2 = new PnP.Framework.AuthenticationManager()....
0
votes
0answers
18 views

Microsoft.IdentityModel.SecurityTokenService.RequestFailedException: Token request failed

I have a .net console application which have this CSOM code:- using (ClientContext context = new PnP.Framework.AuthenticationManager().GetACSAppOnlyContext(RisksiteUrl, clientId, clientSecret, ...

1
2 3 4 5
89