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

learn more… | top users | synonyms (3)

0
votes
1answer
1k views

Web service timeout issues

I've seen some posts on timeout errors but nothing I think that will help me. I have a custom web service running on a sharepoint server. It creates site collections and is being called through a ...
1
vote
0answers
22 views

Feature that activates Custom List Action

I need to create a feature with Visual Studio that creates a custom List Action that does something. Per example, sends an e-mail, change the site name, etc. To be more specific, I want to know how I ...
0
votes
4answers
2k views

Add Page links programmatically to SharePoint Quick Launch

I have a solution that deploys a web part with a web page, and I would like it to also add a Quick Launch home screen link to the created web page. I tried a little code sniplet, that I added to my ...
3
votes
3answers
208 views

Cannot contact site at the specified URL on try ClientContext.ExecuteQuery();

I try to get list from remote SharePoint server using CSOM in .NET Web Application, but ClientContext.ExecuteQuery() return exception Cannot contact site at the specified URL If I try to get ...
0
votes
0answers
21 views

Why my Ajax UpdatePanel in not working to display a div element?

I have a drop-down item in my sharepoint webpart and I want to query something and display it, so this means that i need to use AutoPostBack=true but i don't want to refresh the entire page. So i want ...
0
votes
1answer
39 views

Export SharePoint Online List to Excel using C# Console Application

I am trying to export SharePoint online list to excel 2007 using C# console application. I have got the code from the following url (https://gallery.technet.microsoft.com/Alternate-to-Timer-Job-...
1
vote
1answer
929 views

Getting the User Profile Picture URL by E-Mail via CSOM

I've seen many questions about how to achieve the User Profile Picture URL via the CSOM (Client-Side-Object-Model) API. However none of the solutions worked or they required the Account Name of the ...
1
vote
2answers
63 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
1answer
601 views

Visual Web Part as consumer of PPS Filter Provider

How do you turn an existing Custom (Visual) WebPart into a WebPart that is a Consumer-capable WebPart of Provider WebParts? References are applenty but very few are actual design patterns that ...
4
votes
2answers
4k views

Adding ListViewWebPart with CSOM

I have to add a few webparts to a default page using the Client side object model. For the most part this goes fine, I can add a XSLT and content query webparts. However, when i try to add a ...
2
votes
2answers
70 views

Retrieve non-mapped attribute from Active Directory using C# code in SharePoint 2013

How can I retrieve a non-mapped attribute from active directory (like Birthday), in SharePoint 2013 using C# code? With "non-mapped" I mean a property not synchronized with the user SharePoint ...
1
vote
0answers
12 views

Read current site/site collection term store navigation page URL in the code

Dev Environment: SharePoint 2013 On-premise We have a web part on the home page, where we are displaying the terms (reading from Term store navigation). We are doing this by hard coding the term ...
1
vote
1answer
27 views

How to develop a Feature to Archive list items

How to create a simple feature on SharePoint that allows the user to move an item from one list to another list, like an "Archive". It has to be a feature done through Visual Studio (C#).
0
votes
1answer
37 views

Sharepoint 2013 - Create custom page with code behind

I have many event receivers and, on error, I want to redirect to a custom page that will manage those errors. I know that I can create a custom page per Event Receiver with the creation of Mapped ...
0
votes
1answer
26 views

How to add and update hash table values to SharePoint custom list?

I was having SharePoint custom list.List name products. For storing Column names I was using another list SQLFieldMapping In product list I want to add hashtable values.Please someone help for this. ...
0
votes
1answer
623 views

How to add a button that triggers custom C# code on a list

I have a list of (email) objects which has a lookup field. When an email is received in my document library, I have added code to the EmailEventReceiver to see if the email address matches an ...
0
votes
0answers
14 views

SharePoint 2010 Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown

Arg, so this is really starting to hurt. So I am trying to get back the version history of an item on SharePoint. Whenever I try to get back anything from this SharePoint webservices, I get the ...
0
votes
0answers
19 views

How to check extension of choosing picture in SP 2013 Picture Library

I need to check pictures extension when user has chosen picture and try to upload it into picture library. I've found the way to edit master page with js script, but i haven't to edit master page. ...
3
votes
3answers
39 views

SharePoint csom convert enhanced rich text to plain text

I am trying to get the value of an Enhanced Rich text column and set it to another Multi line of text (Plain text) column. When I use the below line, string richtext = li["...
2
votes
1answer
72 views

How to change the “Parent Content Type”

I have requirement to create multiple content types to a single website in Sharepoint 2013, I have did it using the template files, but the problem in for all newly created content types the parent ...
0
votes
0answers
14 views

Error on Task User Control when Loading Data

private void LoadData() { try { if (SPContext.Current != null) { SPList taskList = SPContext.Current.List; SPListItem task = ...
1
vote
1answer
637 views

Create navigation headings in SharePoint Online programatically

Is there a possibility to create headings with multiple links in the navigation bar (i.e. top link bar) in SharePoint online using c3 or PowerShell? My initial guess was to use ClientContext to gain ...
3
votes
1answer
29 views

Add Site Name to column in NewEdit Form using Client object model

I've been able to Get the site name (adding this to editform via CEWP) but I don't know how to modify the script to be able to update the field ProjectName with the Site Name. Any ideas? Thanks so ...
1
vote
1answer
109 views

“Invalid data has been used to update the list item. The field you are trying to update may be read only.”

I have created a custom content type based on the built-in "Event" content type. which have two columns "Start Time" and "End Time" of type Date and Time. now i can add a new item using the quick edit ...
0
votes
0answers
25 views

How to Create Folder with permission while feature activation?

I have created feature with event receiver.When the feature is activated one folder should be created in this path (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15) when i was ...
0
votes
2answers
48 views

How to add custom CSS to my c# code? SharePoint 2013

I have created a visual webpart and I need to add custom css on it. Example I want to add the following css: .google-visualization-orgchart-node { text-align: center; vertical-align: middle; width: ...
1
vote
3answers
80 views

Get Date of Joining and Date of Birth of all users from Active Directory in C#,SharePoint2013

I want to retrieve date of joining (hire date) and date of birth (Birthdate) of every user from Active directory. How can I achieve this? i tried something like using (var context = new ...
4
votes
1answer
37 views

Project template for SharePoint 2016 is missing

I have installed Visual Studio 15 (Enterprise) in my SharePoint 2016 RTM environment. Thereafter, I have installed Office Developer Tools. Unfortunately, SharePoint 2016 template is missing.
0
votes
1answer
63 views

How to display a photo to Organization Chart?

I have a list like following and I have an organization chart based on this list: I need above the name to be displayed an Image from Publishing Image and it is also Publishing Image column type ...
0
votes
1answer
12 views

Sharepoint 2013 consult get only 100 objects

I have thes JSON, I need to get back 100+ or more items, but json only caught 100 objects : Code: function GalleryContentPopulate(url, listname, target) { var eng = false; var queryGallery = "$...
0
votes
1answer
18 views

Set Allow this document library to receive e-mail in Incoming E-Mail - CSOM

How to programmatically set Allow this document library to receive e-mail in Incoming E-Mail section for Document Libraries in C# code? I could set other Incoming E-Mail properties as follows: ...
3
votes
2answers
689 views

REST API ItemCount on oData BCS List

I have a list generated from a BCS oData provider and I am attempting to get the number of items in the list so I can generate a $top on my request rather than bring back only the 100 item generic ...
0
votes
1answer
40 views

Facing Error while accessing SharePoint site list, The remote server returned an error: (401) Unauthorized

I am getting following error "The remote server returned an error: (401) Unauthorized." While I'm trying to read a website hosted in sharepoint. I have tried following code to access my ...
0
votes
2answers
2k views

FileNotFoundException :<nativehr>0x80070002</nativehr><nativestack></nativestack>

Error related to System.IO.FileNotFoundException. Trying to get Survey 1, Survey 2 from Custom list Survey with 2 Columns: Title Url - Contains URL of Survey 1 or Survey 2 Custom Survey list ...
1
vote
1answer
1k 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 ...
1
vote
4answers
54 views

Get SPListItem ItemsData

I have the list of items in object SPListItem item. Is it possible to extract certain data from the ListItems property? The reason I want to do that is because I have a FieldName "AssignedTo" which ...
1
vote
0answers
36 views

Upload a file and write version history comment using a custom “Author” / "Editor using C#

I'm trying to programmatically upload a file to SharePoint (2016)/ office 365 and modify the Created by /Modified by and also add a history comment along with this operation. The idea is I cannot ...
0
votes
0answers
19 views

Error with Workflow that creates a Task

I've already created two workflows that create a task and both are giving me errors. What am I doing wrong? I've created a workflow that sends a e-mail already and it did just fine. Can I have some ...
0
votes
0answers
37 views

sharepoint hosted App on the site gives this error - Unable to open this page. Try this

I've SharePoint hosted app. When I publish the app in sites, app is not opened but in developer site it works perfectly. And I've activated site developer feature on site where I need the app. App ...
1
vote
1answer
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
1answer
1k views

Sharepoint 2013 Site Title only show parent site

I have a team site and am using the Site Title snippet, but I don't want that changing to show my subsite titles. For example here is an example team site hierarchy we are using for our companies ...
0
votes
0answers
27 views

Office 365 Workflow development in Visual Studio

I have some experience with web applicaiton development in Visual Studio and some Sharepoint Workflow development in SP designer 2013. I am feeling a need to develop a more sophisticated workflow than ...
0
votes
0answers
23 views

Error when opening a website in SharePoint Designer 2013

I have a SharePoint 2013 website, and I am trying to open it via SharePoint Designer 2013. I am getting this weird error as shown in the screenshot below: One thing to note here is that, this ...
2
votes
4answers
935 views

Send invitations to Outlook with ICS format from a SharePoint Calendar List

I'm looking for the best way to implement sending invitations from a SharePoint list of events. Scenarios: Create an Event Creation of a repeating event Exception recurrences Delete an event I ...
0
votes
1answer
666 views

Sequential Workflow: The file has been modified by SHAREPOINT\system on

I have a squential workflow that takes Account IDs as plain text from a InfoPath input and converts them into a SPUser field. I can't get the the item to update bc an exception is throw on the Update ...
0
votes
1answer
46 views

SiteUsers.GetByEmail() returns user not found error

I have a custom webpart in which I get the SPUser object from email address, see the code below. It was working fine for like an year now , but since yesterday it gives a "User cannot be found" error. ...
1
vote
2answers
31 views

Follow site programatically

In SP 2013 on prem, I am developing a web part using c#. All my functions work except follow/unfollow a site for a user. So I am turning here for some inspiration, looking for some code snippets or ...
0
votes
1answer
22 views

Show up modal in navbar

I have a navbar where I want to show a modal if I click into one item's Title. So now I show my navbar in JS menupopulator like this: function completeMenu(data, target) { var prefix = "<ul ...
0
votes
1answer
26 views

Grid-view in visual web-part!

I have created a visual web-part and I have a dropdown list and a gridview on it. on c# I have created a query: string selected = DropDownList1.SelectedValue; query.Query = @"<Where>&...