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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
0answers
4 views

Error occurred in deployment step 'Retract Solution': The language-neutral solution package was not found [duplicate]

I've just began working on a c# solution, in VS2015, that runs on our Sharepoint 2016 site. I have a connection to our Sharepoint site, as stated in the Server Explorer in visual studio. I am trying ...
0
votes
0answers
14 views

Sharepoint Provider Hosted addin people picker alternative

Well my title pretty much says it all. I'm working on a SP Addin on MVC that creates items into a list, but im stuck at getting the user list so people know how to add into People fields. I know you ...
1
vote
0answers
23 views

Using Commandbar from Office UI Fabric React v6.47.2 for SP Starter Kit

I am currently refactoring some parts of the SP-Starter kit so as part of this, I am creating new solutions and manually adding code from the starter kit over to my solutions. Since I am creating ...
0
votes
0answers
21 views
+50

Programming content that only appears for certain users

I am a c# programmer new to SharePoint. The customer has a SP 2016 standard farm. I want to add a custom c# web-page to allow a user (who has the rights) to search using external API for an item. I ...
1
vote
2answers
67 views

How to determine if SharePoint server is hosted in cloud or on prem

I'm using the SharePoint Online CSOM library to access different SharePoint servers. I want to be able to determine whether the server I am connecting to is SharePoint Online or an on-prem server. I ...
0
votes
0answers
23 views

Updating list column using C#

What I have I have two lists with the following columns: listA - 'employee name', 'project' and 'department' (depratment is empty now); listB - 'project' and 'department'. Projects are assigned to ...
1
vote
2answers
93 views

How can I update multiple list items using c#?

I have two sharepoint lists. (“ClassNameList”) and (“Notifications”) The (“Notifications”) has three columns: “classID” which is a lookup id from (“ClassNameList”), Title, and Boolean IsEvaluated. ...
0
votes
1answer
24 views

Raise event when someone add item to list

As a newbie in sharepoint I'm trying to learn some stuff. I have list created in EventReceiver (FeatureActivated method). I would like to raise an event when someone will try edit or add new item to ...
1
vote
1answer
27 views

Get list item data from different site collection using REST api in Javascript

I am trying to retrieve list item data from different site collection in SP2013. I am storing all site URL in an array and I am iterating this using for loop. while in for loop I have called another ...
0
votes
0answers
20 views

Possibility to connect an external application from Office 365 custom tile

I have a requirement to investigate if its possible to use automatic sign-on to a third party application from an Office 365 tile in the App launcher. The steps could be to: Create a custom tile in ...
0
votes
1answer
30 views

Downloading Image from SharePoint when you have absolute url

var webClient = new WebClient(); string imageUrl = retriveResponse.AbsoluteUrl.ToString() + "/test.jpg"; var webclient = new WebClient(); webclient.Headers.Add("...
0
votes
2answers
31 views

C# MVC display items from sharepoint list

So...i created a Sharepoint Add-in (C# MVC) to get list information and create/update items. I've done the creating/updating in the past, not gonna tackle that now. My problem here is displaying the ...
1
vote
2answers
27 views

SharePoint 2013 Transparent Background Image

I am trying to insert a background image I have saved in my "Images" files in SP 2013. I have not done this in a very long time. I entered the following code snippet, but I'm pretty sure I need to ...
0
votes
0answers
9 views

Accessing Files Uploaded to Sharepoint Via Itemadded in C#

I am trying to access files uploaded to sharepoint after the ItemAdded library has been called when a file is uploaded SPFile fileobject = properties.ListItem.File; The first line does not work in ...
1
vote
2answers
48 views

Can i create a custom permission level which allow users to ONLY create an item inside cusotm list. but they can not view,search,edit,delete items

I have a custom list inside our sharepoint online team site. and the team site have the publishing features enabled. the custom list is being used to submit users' feedback. So i want to create a ...
1
vote
3answers
47 views

SharePoint 365 Upload file to subfolder List with .NET C# CSOM

I'm just doing some tests for upload files with C# console App but I can't. I've tried everything but with no success, here my code. ¿What do I try? In the List "Contact" there is a sub-folder ...
0
votes
1answer
14 views

Get parent document library for the folder using CSOM

I need to access the parent document library for the folder. I am having the selected folder GUID by which I am loading it. _spFolder = _contex.Web.GetFolderById(Guid.Parse(_folderId)); But I also ...
2
votes
1answer
113 views

Show Item Level Permissions in Column [C# - SharePoint 2013]

I'm trying to show all Item level Permissions in a SharePoint list Column. I already solved this using PowerShell, however it was so slow to run sequentially, I've decided I need a C# Solution: I ...
4
votes
1answer
64 views

How can I get the office 365 group id for a modern site I've just provisioned?

I'm provisioning SPO sites based on a request workflow. One of the requirements is to add the workflow author to the O365 group which is provisioned automatically when the site is created. I'm using ...
0
votes
0answers
14 views

How to embed code and how to get results

I'm a beginner... so I'm asking myself the following: When I see i.e. on this site some code like this: $().SPSservices({ operation: "GetListItems", listName: "Tasks" }); How do I emped this ...
1
vote
1answer
24 views

Access SPO List from a different site collection through provider hosted addin

Ok so the title pretty much sums it up. I've got a developer site, i create a sharepoint addin and i can get all the information from there with no problems. The problem is i actually want to work on ...
0
votes
0answers
20 views

CSOM - What happened to `ServerRedirectedPreviewUrl`?

I am using nuget package MIcrosoft.SharePointOnline.CSOM package 16.0.7813.1200 We are migrating from Soap "ows" web services over to the Client CSOM C# code. One of the fields we used to have was ...
0
votes
1answer
40 views

How to update property bags for classic and modern sites in Sharepoint Online using C#

public interface ISiteMetadataField { string Name { get; set; } string Value { get; set; } } public class SiteMetadataField : ISiteMetadataField { private string _name; ...
2
votes
1answer
30 views

SharePoint Add Days to a Date Field Using C#

I am currently using an event receiver in a SharePoint site meant to onboard new employees. New user info is entered into a list called "New Hire Profile" and a second list called "Access Profile" is ...
2
votes
0answers
21 views

Why pending items and/or pending changes inside our custom list is being excluded/ignored from search

I have a custom list inside our sharepoint 2013 on-premises enterprise farm. now i set the following versioning settings inside our cusotm list:- When someone creates a new item inside the list, its ...
0
votes
1answer
31 views

Disable and enable on click on date calendar icon

I am trying to make the date field calendar icon unclickable in some scenarios, which I manage by using this: $("#...
0
votes
1answer
17 views

IE problem with JQuery

I am working on page layout in SharePoint 2016 on prem, and using jquery for some simple manipulation. I need to load my .js - file in edit mode panel only. I reference the .js-file like this in the ...
4
votes
1answer
83 views

How to update created and modified properties to my own value of a file in SharePoint online using REST API in C#

Isn't it possible to update created and modified like the following method? This works for other column properties but nothing happens in modified and created column. var body = "{ '__metadata': {'...
0
votes
0answers
14 views

Hosted site can run SharePoint designer workflow but not Visual Studio workflow

There is a hosted site where my SharePoint designer site workflows are able to run but my Visual Studio site workflows get an error. The Visual Studio workflows work on other hosted sites so it's not ...
0
votes
1answer
38 views

How to deploy display templates with pnp?

On SP 2016 on-prem I am trying to write a console application to upload files, mainly display templates. I create a dummy site collection, and upload display template in "_catalogs/display templates/...
3
votes
0answers
57 views

*UPDATE* SharePoint 2016 Auditing

I find myself scratching my head as I know there are audit reports for the site collections, which is good, and I know there are third-party applications that can collate the audit data and present it ...
2
votes
3answers
55 views

SharePoint 2013 workflow check if user has already enter a record

i need some help with workflows... how do check if a user has already created an entry in a custom list. dont allow the user to enter another entry, send an email if the user has. if the user hasnt ...
1
vote
1answer
37 views

Programmatically add a link to the JavaScript code on the page [closed]

It is possible to programmatically add automatically script to the page SharePoint, i.e. the Content Editor is followed by a link URL to file script, i was only text example? using (SPSite site = new ...
6
votes
1answer
103 views

Can i eliminate duplicate items which have the same (Title & Created-by) from the list view Count

I am working on a custom list inside our SharePoint on-premises 2013. i created the custom list to store the users who access a discussion board items, by following this approach:- 1- Inside the ...
2
votes
0answers
40 views

Uploading large files to SharePoint via C# and CSOM

Sharepoint Version: 2016 I have tried many solutions but still am failing. One site which had a possible solution was: http://www.stuartroberts.net/index.php/2014/05/09/sending-large-data-csom/ but ...
0
votes
0answers
28 views

Creating new file with special characters using CSOM

I am using CSOM for creating new file. The file name contains specials characters. The file name is !@@#$#%$%^^&^&(())(_+{}}.rar If I create file name as it is it gets fails or partially ...
2
votes
1answer
192 views

I got this error “An unexpected 'PrimitiveValue' node was found when reading from the JSON reader. ” when updating a choice field using REST API

I am working on sharepoint on-premises 2013. and i have a cusotm list which contain 2 columns of type "Choice", as follow:-- Now i am trying to copy one list item and create a new list item, using ...
0
votes
1answer
18 views

Check if a project is of SharePoint Add-in type

How can I know if a project is of SharePoint Add-in type? Is there any way through which I can verify the same?
0
votes
1answer
22 views

Walking a folder structure in SharePoint Online

I have a requirement to write a Windows application which will walk through a folder structure of a Document Library or OneDrive that it is pointed to and produce an audit of the contents. I'm pretty ...
0
votes
1answer
31 views

Unable to Send Email from SharePoint Code Behind

I am unable to send emails from SharePoint code behind. I've tried the following code: public static void SendEmail(SPWeb spWeb, string Subject, string message, string ToName, string ToEmail) { ...
0
votes
1answer
116 views

Property bag - Index using CSOM

How can we check if the property bag is indexed and searchable? And also how is the index value for 'vti_indexedpropertykeys' encoded? I am trying to update the property bag's index using CSOM C# ...
1
vote
1answer
70 views

How to work with SharePoint 2016 and SharePoint Online simultaneously in CSOM?

I have a code to work with SharePoint by using CSOM. It is roughly the same for SharePoint 2016 and SharePoint Online, except for few lines. I want that my application work both with SharePoint 2016 ...
0
votes
1answer
60 views

Delete documents that someone is editing

I am making a app for SharePoint Online and in the app I have a function that deletes documents in a folder. But if someone have the document open or if the document is checked out the app crashes ...
0
votes
1answer
63 views

Infopath with VS 2017?

I have Visual Studio 2017 and InfoPath 2013 installed currently and was investigating the custom code options for Infopath and it states that I need to install VS 2012. Is it possible to get Infopath ...
0
votes
0answers
49 views

Problems inside my modern page, when adding a Modern News web part which have its source from a different site

I am working on SharePoint online team site collection. and i created a new modern site page. where inside the modern site page, i added a News web part which have its News source from a sub-site ...
0
votes
1answer
21 views

Calculated column will return weird results if the fields involved contain null values

I have 2 columns inside my list:- [Live/Active Date]. of type Date. [Contract Length (month)] . of type number, which does not allow decimals. now based on the above 2 fields, i want to calculate ...
1
vote
0answers
23 views

Get SharePoint Online Site Title From Console App

I have a console app written in C#. I need to get some of the information from several of the SharePoint sites on my SharePoint Online instance. For this question, let's assume I only need to get the ...
0
votes
0answers
55 views

System.InvalidOperationException: 'This property cannot be set after writing has started.' for OpenBinaryDirect

I am getting "System.InvalidOperationException: 'This property cannot be set after writing has started.'" when calling OpenBinaryDirect(). Please check below code and suggest. public static void ...
0
votes
0answers
20 views

Sharepoint Data source type is missing in visual stuido 2017

I am using Visual Studio 2017 enterprise edition to create a RDLC report. First of all my visual studio did not come with RDLC pre-installed, so I have successfully installed it via nuget package. ...
0
votes
2answers
34 views

How to add user to a group using FieldUserValue

I have a super annoying issue where this is the process: User fills in form My application uses CSOM to get a list of users from the form (these are selected by the user with people picker - I also ...