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
11 views

How to display only 1 item in C# google org chart?

I have created the following chart using google organisation chart but I have some problems. When I open the page or when I refresh the page it shows up the full chart like in picture below. But I ...
0
votes
0answers
13 views

Setting Metadata Navigation settings for library causes error

I've been trying to set MetadataNavigationSettings for a SharePoint 2013 library. I have been following all instruction from Microsoft documentation and just what people are doing in general. For ...
1
vote
1answer
17 views

Move a folder recursively to another folder with powershell

I've tried to search but didn't find, how would I move a folder in a document library to another folder in the same document library recursively? What I know, I know the name of the folder which I ...
2
votes
1answer
1k 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
1answer
54 views

Can I do traditional web dev with SharePoint Online?

In other words, can I use a typical IDE like WebStorm, create some HTML, Javascript and CSS, then stick it on my Sharepoint site and will it work? Here is a sample of what I'm trying: <!DOCTYPE ...
3
votes
3answers
1k views

SharePoint development deployment problems

I am getting the following error, when trying to deploy the visual studio generated Blank SharePoint Project. Error 1 Error occurred in deployment step 'Retract Solution': Cannot connect to ...
0
votes
1answer
17 views

Datatable doesn't bring all columns from SharePoint list

I programmatically created a library "DropDownLibrary" with some field "ReviewType"(text), "SubmittedDate"(datetime), "Created"(the sharepoint field)... and it works in the browser, I can insert new ...
0
votes
0answers
16 views

The security validation for this page is invalid - SharePoint 2013

I want to send email from modal, the problem is I´m getting security error saying: The security validation for this page is invalid The difference between me and another users, it´s that I do it in a ...
1
vote
0answers
35 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
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 ...
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
211 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
46 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
933 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
65 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
604 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
38 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
628 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
639 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
113 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
82 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
40 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
13 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
690 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
41 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
37 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
29 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 ...