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
0answers
12 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
11 views

Very lost with ASP.NET program trying to generate chart.js charts

I'm a young developer who was given the task to create a dashboard using some data from a company's database. I've never been exposed to C#/ASP.NET and I have very little experience doing real world ...
0
votes
0answers
9 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. ...
2
votes
1answer
70 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 = ...
3
votes
1answer
24 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 ...
0
votes
0answers
24 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
42 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: ...
4
votes
1answer
29 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
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: ...
1
vote
4answers
51 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 ...
2
votes
2answers
58 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 ...
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
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 ...
1
vote
3answers
77 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 ...
0
votes
0answers
36 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
0answers
34 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
23 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
21 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 ...
0
votes
1answer
36 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 ...
1
vote
2answers
29 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
25 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>&...
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 ...
1
vote
1answer
46 views

How to retrive Image URL from Custom List,in sandbox solution using Visual studio(C#)

I'm trying to retrieve image/attachment url from custom list, while I am fetching image url and passing to img tag then it returns true rather Image URL,like src="true" and i want it like src="http://...
0
votes
1answer
43 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. ...
0
votes
1answer
18 views

Use LINQ GroupBy with SPListItemsCollection

I have a SharePoint list containing some items. I would like to apply grouping to the items using LINQ, preferably with .GroupBy method. This is the list of fields that the list item is consisted of: ...
2
votes
2answers
44 views

Problem with RunWithElevatedPrivileges and Context

I'm trying to modify two properties I have in several documents in my SharePoint library. This is the code I use to get into the library: public SPArchiveBDI(string sharepointsite, string ...
5
votes
0answers
128 views

can i access a Custom Property for a term set inside my Search Serivce Query Builder

I am working on an enterprise wiki site collection. and we need to implement an expiry policy for the wiki pages, so if the wiki page is set to be expired or a it is linked to a certain term , then to ...
1
vote
1answer
23 views

Using resx file from javascript code inside elements.xml

I'm looking for changing my title using a file .resx. I thought i'll just have to change title with my resx file for example : title : Resources:MyFile,MyTitle but it's not working <...
3
votes
1answer
35 views

When I edit a web part it shows twice! SharePoint2013

I have a webpart created with visual webpart, it has a GridView and it looks like as following image: For everytime I edit the page containing this webpart it duplicates I.E if I edit this webpart ...
0
votes
0answers
21 views

MVC: Office 365 Authentication to SharePoint ClientContext

I'm currently busy building an ASP.NET MVC Web Application with Office 365 user authentication. One of my requirements is to upload files to a SharePoint Document Library from the WebApp. I can't ...
1
vote
3answers
55 views

Exclude wiki pages from search based on field value

I am working on SharePoint Server 2013 enterprise edition. I have an Enterprise wiki site collection. In the library there is a managed metadata column named Status with these options: Draft ...
0
votes
0answers
21 views

How to set up alert on team discussion list in following scenario?

I am having the WebPart, which send a email to selected employees. Along with sending email, it is adding a discussion topic in OOTB Team discussion List. Adding this topic against the user to whom I ...
1
vote
1answer
41 views

How to query with CAML?

I have a list called employees and it has a column named Birthday. I have to campare if today is birthday, how can I query in this way: DateTime Date = DateTime.Now; SPQuery = new SPQuery(); ...
0
votes
1answer
23 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 ...
1
vote
0answers
27 views

How to get distinct users from SPList in c# from list having people and group column?

My Team Discussion list having the column "AppreciatedTo" of type People and Group. Whereas I need to fetch the distinct users in current year (created date also there) in visual webpart in c#. Adding ...
2
votes
1answer
38 views

SharePoint LINQ problem!

I am following all steps from this Microsoft blog but I am facing some errors <EmployeesItem> this is an unknows command. where emp.Project.DueDateis not working I have the following code:
0
votes
3answers
26 views

How add a drop down list of countrie in a webpart using visual studio?

I am trying to write a visual part in visual studio 2015 to create a form. There is a drop down list of countries. How can I create this drop down using C#?
2
votes
2answers
35 views

Visual studio 2015 debugging sharepoint 2013 webpart extreme slow and will hang always

I'm trying to create a webpart for sharepoint 2013 using visual studio in C# language. I'm developing the webpart on the sharepoint server cause I don't have office development kit on my local ...
0
votes
1answer
22 views

Horizontal Scroll Bar missing is some web apps

I have three web apps in a one WFE farm. I have not fooled with any CSS or javascript or master pages. In the first web app, the horizontal scroll bars work just fine. In the other web apps, I don'...
1
vote
4answers
96 views

workflow 2010 will show a Date equal to 01/01/0001 inside the email, if the Date is empty

I am working on SharePoint server 2013, and i create a new Workflow 2010 inside Sharepoint designer 2013. now inside the Workflow i set an email which contain the following value:- [%Current Item:...
0
votes
0answers
12 views

SPUtility.CreateNewDiscussionReply issue in multilingual site Discussion Board reply adding

I have a strange problem. I have multilinugual site. Both is having 2 visual web parts for custom developed discussion board. One is for english,one is for arabic. Only difference is UI. I have a ...
0
votes
1answer
33 views

How to create a log (history) for a specific list item SharePoint 2013?

I have an list item called Department and I need to keep tack if an employee changes Departament I.E if he is in sales department and if he moves to warehouse department, there should be a list column ...
0
votes
1answer
30 views

Get size of a ListItem

I've been recently working a lot of scripting with Powershell 2.0 towards SharePoint 2010, tasked with building various scripts that would for example print some information about 10,000 lists, as a ...
0
votes
2answers
42 views

How to update a list item with event reciever? Sharepoint 2013

I have a list with 3 columns which are Name, Department and DepartVersion. I have also created an list item event receiver, its invoked when an Item is being Updated and I have the following code: ...
3
votes
3answers
35 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["...
0
votes
0answers
17 views

approval workflow in c# for share point 2013

I want to create a share point three stage approval in c# code . In my project when submit button clicked by user a approval workflow must start .
1
vote
1answer
18 views

Access denied when impersonating SharePoint 2013 site collection admin

I have a SPUser which is site collection admin and included in the Owners group, and i am getting access denied error when to get the Documents library, knowing that library takes its permissions by ...