Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

1
vote
0answers
16 views

Can i force my Calender's events to open in a new tab

I am working on a sharepoint online classic team site. and i have added a Calendar list named Events. but inside the calendar view, when i click on an event, the event's display form will open inside ...
0
votes
2answers
28 views

How to add data to site programmatically

Let me start by saying that I do not have too much experience with Sharepoint. We have an in house Sharepoint site that users can go and enter data (less than 10 fields) and run some reports on that ...
0
votes
1answer
37 views

How to create formula based on column value

I have a column in my SharePoint list named "Container Content." When adding a record in SharePoint you can choose one of three items in this column, it is a choice column. The three items you are ...
0
votes
2answers
19 views

How would I hide 2 columns in SP13 if column A if the answer is No in SP13?

I'm haggling over how to "hide" 2 columns when a specific column drop down answer is "No". Assuming I use JS, would I save the script in Site Assets and refer the link on CEWP? Here's the script I ...
0
votes
0answers
7 views

How To Get Sharepoint Online Migration API Logs (using c#)

Note: I asked this question earlier on stackoverflow, not realising that it might fit better here. It is specifically about programming tools though, so what is the policy for questions that could be ...
0
votes
3answers
47 views

edit list without permission in C#

i need help wit this I want user to edit list items (insert) without having a permission of edit for that list in c# how can i do that?
0
votes
2answers
35 views

How to redirect users to a different page/URL on a SharePoint save button click in New item form?

I am having an issue about redirecting users to a different URL on Save or Cancel button. First of all I have used below code to change SharePoint list new item form's Save button to Submit. <...
2
votes
3answers
35 views

CSOM - get list instance from URL is not working

I'm developing a C# console application that queries some items from some lists. Most lists are in a sub-site, but one of the list I need to query is in the root (or main) site. Example: The sub-...
0
votes
2answers
28 views

Create list from custom template SharePoint 2013

I am trying to create a list based on a template I have saved. Below code should get the list where the name is "ContactList" but I always get the error that a list by that name doesn't exist. (have ...
0
votes
1answer
14 views

how to simple connect to my sharePoint and get all the documents ?

i need to write a C# code that can connect to my sharePoint and get all the documents and also upload some new document. I can't find any simple example code that can do it any help please .. ...
0
votes
1answer
29 views

Access denied when downloading file through CSOM, but can download through UI

I need to download a couple of files from a client's Sharepoint. Here is my code: using Microsoft.SharePoint.Client; var username = "username"; var password = "pass"; var url = "https://myclient....
0
votes
1answer
21 views

Is there a way to add the Content Type title inside our custom list validation settings' Formual

I have a cusotm list inside our sharepoint team site, and inside the list Validation setting i define the following formula:- =IF(Status="Invoiced",IF([Invoiced Date]<>"",TRUE,FALSE),TRUE)=IF(...
0
votes
0answers
22 views

How to connect Azure DevOps in Visual Studio code

I have been able to do this with a bit of trial and error but I could do with a bit of clarification before I explain this to anyone in my team as I am still a bit confused ! I have a local repo dir ...
0
votes
1answer
45 views

How i can check if my Date Time field is less than Today() date inside JS script

I have the following JS script to color code our custom list items inside out list view, by checking if the item is status does not equal Delivered and its EndDate has been bypassed:- SP.SOD....
0
votes
3answers
39 views

Check SharePoint lists are identical

Is it possible to check two SharePoint lists are identical in terms of list columns(Column names and types) programmatically?
1
vote
1answer
30 views

Populate people picker during PreSaveAction

I'm in a SharePoint 2013 on-prem farm. I have a people picker field called Managers that I want to populate based on users in another people picker field. Once the user clicks Save on the New Form, it ...
1
vote
1answer
48 views

Best field type to store videos & Audios duration

I am working on a custom list inside our sharepoint on-premises 2013. and the custom list will store information about videos and audios (i am not doing to upload the actual audios and videos). and I ...
0
votes
0answers
18 views

How to connect sharepoint online using azure native app

We need to do sharepoint online authorization in console application using native app registered on azure, can anyone suggest any sample code? please refer the below screenshot. [
0
votes
0answers
20 views

Can i define a query which have NOT(condition1 and condition2) inside my content search web part

I have a content search web part inside my SharePoint 2013 on-premises. and i already have this query:- path:"http://***/***/" (IsDocument:"True" OR contentclass:"STS_ListItem") ( ( -...
1
vote
0answers
20 views

_spPageContextInfo.userTimeZoneData suddenly stop working

I am using many _spPageContextInfo properties in my development and it works well but suddenly from last few weeks_spPageContextInfo.userTimeZoneData is not working. User has updated timezone ...
1
vote
2answers
88 views

How to Convert SharePoint list Data to JSON Format?

I have to get the data from SharePoint(Online) List and put the data to JSON format and create a JSON file in Local drive or SharePoint list. I am new to SharePoint online and JSON can anyone help me ...
1
vote
0answers
35 views

how to get workflows history in sharepoint using c #

I would like to know if you could bring the workflow history from a sharepoint list and display it in a visual studio application c#.
0
votes
1answer
48 views

where do i need to add my custom javascript (which will be rendering the results inside the modern web part) inside my client-side web part project

I have built my first client side web part as mentioned on this link https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part. now the web part will show ...
1
vote
0answers
17 views

Displaying Documenting Source Code in Sharepoint

I am looking for a way to display source code in SharePoint. We are migrating from Mediawiki to SharePointand create there our new knowledge-database. With that our developers asked if we can provide ...
1
vote
1answer
21 views

Hybrid document library in SharePoint online

I have a document library in SharePoint Online, When I add a new file to this document library, I need to get a copy to this file in document library in my SharePoint on-premise Is it possible?
4
votes
1answer
130 views

PNP JS in SharePoint

Till date we are coding custom solutions in SharePoint using JavaScript/jQuery/REST API, I need to know if there are any downfalls of using PNP JS as an alternate to REST? My company is pushing all ...
1
vote
1answer
36 views

Get the list specific rows from sharepoint where value exist

I am working in c# and I have a list of strings which contains the projectid of the SharePoint list List<string> guidlist = new List<string>(); // contains project ids On the basis of ...
0
votes
3answers
37 views

query via caml in sharepoint list

hello I'm doing a query caml in asp.net c # to search by user of my column "users" that I have but only works with a single user, and when I change user and enter another brings me all the users I ...
0
votes
1answer
26 views

read data from external SQL database

What's the best approach for reading data from external SQL database? build web services and call it in web part using ado.net and read data directly in web part using external list and read data ...
0
votes
0answers
18 views

O365 modern page comment author spoofing C# CSOM

I am trying to add comments to a modern page in SharePoint Online on behalf of an existing user. I cannot find any documentation on how to do this. I am able to add a comment to the page on my behalf ...
0
votes
1answer
28 views

How to access another Site with event receiver?

I am doing an event receiver which updates a list from another Site, I don't know how to access another site using CSOM
1
vote
3answers
75 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
2answers
82 views

what version of visual studio is needed for sharepoint 2010

what version of visual studio is needed for sharepoint 2010 besides VS2010? My question is whether or not a sharepoint 2010 server can support newer versions of VS?
1
vote
1answer
52 views

What are the approaches we can follow to define a timer-job-liked which checks our sharepoint online lists

I have a couple of sharepoint online lists which have a custom column named "Project Due Date" of type Date-time. Now i want to run a scheduled job on daily basis (12:00 am) which will check if the "...
0
votes
1answer
28 views

C# Upload file larger as 2mb

I managed to upload files less than 2mb, but since I also want to upload larger files I had to move away from CSOM. So I searched the web and found this solution: ClientContext ctx = new ...
0
votes
1answer
26 views

How i can get the current URL inside my list Display form

I edited my display form for a cusotm list using sharepoint designer, and i added the following link, which reference the create form inside another list:- <a href='/sites/****/Lists/Details/...
0
votes
1answer
32 views

Copy Folder with all its content to another Document Library in another site programmatically

I need to copy folder with all it's content (files and folders) from Document Library to another Document library in another site. The code: SPFolder.Copy(destinationUrl) works fine only when both ...
0
votes
1answer
19 views

XsltViwerWebPart in SharePoint 2016

As documentation link https://docs.microsoft.com/en-us/dotnet/api/microsoft.sharepoint.webpartpages.xsltlistviewwebpart?view=sharepoint-server I added the Microsoft.SharePoint.WebPartPages reference ...
0
votes
1answer
48 views

Can i get/use the Modern Experience Interface + the Current Site Navigation, inside my SharePoint Hosted Add-in

I am working on a SharePoint online team site collection. and i want to build a SharePoint hosted App to do some CRUD operations on a list. so i follow somehow the same steps shown in this link:- ...
0
votes
1answer
44 views

Passing the Item ID to my SharePoint Hosted App. is this possible

I have to 2 lists inside my sharepoint online team site:- Invoice Invoice Details. which has a lookup column to the Invoice list. now i want to show a summary of the Invoice and its details from one ...
1
vote
1answer
30 views

Can you change the barcode standard used by SharePoint?

By default, Sharepoint uses the Code39 barcode standard. Is there any way through the COM or otherwise to change the standard used by sharepoint? I would like to have Code 128B barcodes instead, and ...
1
vote
2answers
55 views

Is there a way to pass the Title of a parent item to the create form inside a Child list

We have 2 custom lists inside our sharepoint online team site:- Dept list. Employee list. this list has a lookup column to the Dept list. so inside the Employee Create & Edit forms, there will be ...
0
votes
1answer
31 views

Update the selected view in list view webpart using C#

Please help me to reflect the view changes to the web part pages programmatically using C# Is it possible ?
1
vote
1answer
33 views

“Data View” component which is added inside the Display.aspx form will not be shown in modern interfaces

I want to build something similar to having Master/Details lists inside sharepoint online. so i follow an approach mentioned on this YouTube video, which mainly do these steps:- created 2 lists (...
0
votes
0answers
20 views

How to unlock a locked site collection in C#?

I have a locked site collection (set to "no access" in Central Administration). I can unlock / lock this site collection easily with PowerShell: Set-SPSite -identity "<url>" –LockState Unlock ...
0
votes
0answers
18 views

How to convert Microsoft.SharePoint.Client.File file to ProjectFile in SharePoint event receiver?

I am trying to read MPP file from SharePoint Document library in sharepoint online however i am not able to convert microsoft.sharepoint.file to projectfile used in project reader. I am using net.sf....
2
votes
2answers
82 views

C# console call sharepoint online rest api with credentials problem

My goal is to call REST API and retrieve specific folder and files metadata to specific site. I wrote a console application in C#. The SharePoint site is multi-factor enabled and I can get the site ...
0
votes
1answer
30 views

Site usage details for SharePoint 2016 sites programmatically

In SharePoint 2016 we can get the site usage report from Site Settings-> Popularity and Search Reports But I want to get the site usage details programmatically(PowerShell/C#). I am not able to ...
0
votes
0answers
23 views

KeywordQuery search does not work if I move the file from site to another site

I been working in a project where the user can move files from different folders and sites, when this happen the UniqueId of the file changes so I made my own Id and put it into a metadata field to do ...
1
vote
1answer
24 views

SharePoint list form field as Read-Only with IE

WE are not able to get the form field as Read-only with IE and it is working with chrome. code snippet : <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js" type="text/...