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
2k 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 vote
2 answers
1k views

How i can remove views from my discussion board List name "Answered Questions" & "Unanwered questions"

I have added a discussion board list inside my team site. but I want to remove some views such as: Answered question, unanswered questions, etc... I am not sure if these are standard view or just a ...
3 votes
1 answer
6k views

Sharepoint client object model {File not found}

var onlineCredentials = new SharePointOnlineCredentials(ServiceUserName,securePassword); var context = new ClientContext(clientUrl); context.Credentials = onlineCredentials; ar cc = GetAllFiles(...
0 votes
1 answer
30 views

how i can control the properties/fields that can be retrieved from SharePoint inside my PnP core sdk

I have this pnp core sdk code:- var myList = await context.Web.Lists.GetByTitleAsync("Work Orders", p => p.Title, p => p.Fields....
1 vote
1 answer
2k views

Unable to reference a column by its Internal name. Column does not exist. It may have been deleted by another user

Today I created a new site column named "Business Category" inside my issue tracking list on SharePoint 2013 server. The column type is a dropdown list. Now the internal name for the column is "...
3 votes
1 answer
2k views

Error: Unexpected response data from server - user Profile properties displays

I get the mentioned error message when i try to display the User Profile properties by using JSOM(Java Script Object Model) Error: Unexpected response data from server. The error occurs for around 1 ...
1 vote
1 answer
90 views

Getting list of all users that are currently co-editing document

I have some enquires on getting all the users that currently co-editing the document, I am aware of a column in documents page called "Modified By", which I can get it by using SPList. ...
2 votes
1 answer
2k views

Using the SharePoint Search for a specific library in CSOM

I want to replicate the search function but only return results which exist in a specific library. By using the below code I am managing to return the ListItem and load its folder and properties, but ...
1 vote
1 answer
2k views

Get user session ID

I have a problem with SharePoint session. Is there any way to retrieve Session ID or Transaction ID of an user in SharePoint by C#?
3 votes
1 answer
1k views

How to change Document Library webpart's toolbar type programmatically?

I want to edit document library webpart to change Toolbar Type to 'No Toolbar' programmatically using C#. Actually I want to hide 'add new document' button. I have created a document library ...
0 votes
0 answers
18 views

Can i use PnP core sdk inside .net 8.0 console application and use AD App registration which uses self-signed certificate

I have created a AD app registration which uses self-signed certificate for authentication. and i grant the AD app registration full control on SharePoint and graph APIs. Now I want to build a .NET 8....
4 votes
1 answer
2k views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
1 vote
3 answers
2k views

how to create term inside existing termset

how could i create terms inside existing group/termset $TaxonomySession = Get-SPTaxonomySession -site $TaxonomySite $termStore=$TaxonomySession.TermStores["Managed MetaDataService"] $group=$termStore....
0 votes
2 answers
17 views

Site Collection +New button options not available after applying site template (SiteDesign/SiteScript)

Hello and thank you in advance. I have deployed the following site design script below. However, once i apply the template the options under +New on the site collection homepage are no longer ...
2 votes
1 answer
3k views

How to connect office 365 site having MFA using c#

I need to connect Office 365 site using console application(c#). but the problem is office 365 tenant having MFA(Multi Factor Authentication) authentication. How can i connect to specific site ...
0 votes
2 answers
158 views

How to get the total number of nested files and folders inside the main folders inside a document library

We have a SharePoint online document library which contain 40 folders on the root. now i want to count how many nested sub-folders and files each of the 40 folders contain? now in SharePoint the built-...
2 votes
2 answers
6k 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 ...
3 votes
1 answer
2k views

InfoPath code to delete all rows of repeating table and then add back one default row

I have the code on a clicked event to reset a repeating node (deleting all existing rows - see code)... I am looking for the best way to add back a default row. I tried using xmlwriter, but this ...
0 votes
0 answers
40 views

SharePoint limits when moving and copying files and folders

Inside this documentation @ https://learn.microsoft.com/en-us/office365/servicedescriptions/sharepoint-online-service-description/sharepoint-online-limits#moving-and-copying-across-sites it mentioned ...
1 vote
2 answers
3k views

Uploading files from node/Express.js server to sharepoint

I'm trying to send a file to a SharePoint folder using the sp-request module. I can upload a .txt file and it opens correctly. But when uploading .docx files, the file becomes corrupted. My collection ...
0 votes
1 answer
2k views

How to use windows credentials using CSOM

I need to use windows credentials instead of hard coded password because it's against our company policy to use hard coded username and password. I check some threads here and tried everything but my ...
0 votes
0 answers
18 views

Split my filter into 2 filters one which is delegable and one which is not none-delegable

Inside the screen onvisible, i have this filter statement to build a collection:- ClearCollect(colSpareParts,ShowColumns(Filter('Spare Parts Asset Types','Asset Type ID'=varWorkOrderATID && ...
1 vote
1 answer
2k views

Update SharePoint list via C#

I'm trying to update a SharePoint list via C# So first I check if my item already exists, if it is, I add his id in my lUpdate variable. So my code works, it goes in the loop (for the update and the ...
0 votes
1 answer
3k 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
2 answers
2k views

Programmatically create content database in C# (SP 2013)

The goal is to have a web user interface with the option to create new site collections with new Content Database. With the admin user I can manually in the CA create new Content Databases. I can ...
0 votes
1 answer
1k views

Truncating our multiple line text fields inside our list views using JSLINK

I am working on an online sharepoint custom list. and we are rendering our list inside the classic UI. now inside the custom list's list view we have 3 fields of type multiple line of text. And if the ...
0 votes
1 answer
2k views

How to upload all my folders and files from Local to target folder in Sharepoint online using c# and office 365 Authentication?

I have to specifically use C#. I am able to upload files to Root folder.
0 votes
1 answer
568 views

Filter SharePoint list item by ID using Microsoft Graph Api

How to filter SharePoint list item by ID using Microsoft Graph Api using C#?
5 votes
2 answers
2k views

In a SharePoint List I cannot see items that are in a folder

I have a sharepoint list (Not Library), where I am programmatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
0 votes
3 answers
2k views

How to Get all SharePoint SpUsers from SpFarm with C#

How to get a list of all users in a certain Farm in SharePoint by code? Is there any away to do that without must iterate every SPgroup in every SPWeb in every WEApp?
2 votes
3 answers
1k views

How long does it take to insert 150000 items in list Using CSOM?

I have a CSOM desktop application adding huge data in the list from a excel sheet. Its is taking 5 to 6 hours to upload 150000 entries(Not files). Does it take so long or can we improve performance. ...
1 vote
1 answer
1k views

How to change the site logo of sharepoint online (Office 365) using C#?

I want to change the Site Logo of the Office 365 sandbox solution using C#. I have tried this code: site.RootWeb.SiteLogoUrl = imageUrl; But, Its not working. I also want to upload the image ...
0 votes
1 answer
5k views

Can we force a sharepoint modern page to auto refresh each N minutes

We have a modern sharepoint page, and we have adding many lists' views to it using the List modern web part:- but we have noted that any modifications we make to the underlying lists (such as add, ...
0 votes
2 answers
8k views

How to get all the files from specific sharepoint folders and subfolders using CSOM

We have a site which has few document libraries and each library has n number or folders and sub folders. I want to get all the files only from the folders or sub folders which name is ABC and XYZ ...
1 vote
1 answer
33 views

VBA\C#.How to automatically map MS Project fields to a list on a SharePoint site

I have a list of tasks in MS project, which is synchronized with a SharePoint list created using a template, it has its own fields, for example “Description”, in project I have this field assigned to ...
-1 votes
1 answer
40 views

How to update the list item from grid(custom web part)

I have one list.in that list title column,Start date ,Due DAte ,Assigned To,Status column is there.And some entries also there.All the list items i am displaying in one grid.After that in that grid ...
0 votes
1 answer
12 views

Can we define managed devices access to certain sites only

Inside SharePoint online admin center, we can configure Unmanaged devices access:- Where this will affect all the SharePoint sites. my question is if we can configure the unmanaged devices to certain ...
0 votes
3 answers
2k views

custom timer job is running multiple times in SharePoint 2013

I have created a Web application scoped timer job in SharePoint 2013. This timer job is supposed to be running only once in a month , and should send an email only once . The problem i am facing is ...
1 vote
2 answers
1k views

Error while reading the file in SharePoint Document Library

I have developed C# console application using csom to read all the files (excel, doc, slide, pdf) in the SharePoint Document Library and converts to memory stream and retrieved if any external links ...
0 votes
1 answer
2k views

Do i need to add the file name and extension when using FileCreationInformation

In server-side object module i use this code to create a file at a destination folder:- ListItem templetefile = null; foreach (ListItem i in template) { templetefile = i; } byte[] fileBytes = ...
2 votes
2 answers
2k views

How to upload images to picture library using JavaScript?

I want to upload multiple images to picture library using JavaScript. I am building SharePoint hosted app. In which I have created a Picture Library in side Project Solution using Visual Studio and ...
0 votes
1 answer
2k views

Add filter and pagination to CAML query

I'm developing a visual web part for Sharepoint 2010. I would display all documents from a specific DL, but this DL contains more than 7000 items. So I would like to add a pagination (show only 20 ...
4 votes
1 answer
1k views

Adding a content editor web part (which reference a .txt file) will break my list view inside mobile devices

I am working on a SharePoint 2013, and i have a team site collection which have the mobile browser view feature enabled. now inside the team site i have around 10 lists which are working well when ...
1 vote
5 answers
14k views

How to set Date column with default value as calculated value?

One date time column: Target date Requirement: Need to set default 'Target date',5 Days ahead of item creation date. I have tried this:= but it is not working =[Target date] = [Created] + 5 Kindly ...
0 votes
1 answer
3k views

How to update the people and group column with multiple values in SharePoint

I have a person or group column in SharePoint 2013 I want to set the multiple values I have set its value like 1;#pallavi it's working but when done for multiple values like 1;#pall;#2;#shee it's not ...
3 votes
1 answer
2k views

Updating List View Web Part property in page

I have a List View web part (In the page > Add web part > App > document library name). I need to update the TitleUrl property of this web part through C# code. The SaveChanges() method below works ...
0 votes
1 answer
2k views

How to clear browser cache or cookies when user logout?

I have custom signout.aspx page which is auto redirected when user session timeout expired. Problem is when user clicks the Back arrow or opens same site again, there is no prompt for authentication ...
0 votes
1 answer
1k views

Microsoft Office SharePoint Virus Scan Engine

We have a requirement to integrate an antivirus solution with the Sharepoint server programmatically. Requirement: When a user adds/updates a document perform a scan using SDK of the antivirus and ...
0 votes
1 answer
69 views

Any third party tools to map SharePoint document library as mapped network drive inside user's machine

We have a requirement from one of our users that he need to map a SharePoint document library as a mapped drive inside his windows 11 machine. now using the built-in Map Network does not seem to work ...
0 votes
0 answers
23 views

Filter & Order my SharePoint list using index columns is raising error "Attempted operation is prohibited because it exceeds the list view threshold

I have this GetItems action inside my Power automate flow:- the SharePoint list contain around 140,000 items. and all the fields that are involved in the above Filter and OrderBY are already added to ...

1
2
3 4 5
92