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
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 ...
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
1answer
32 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
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
26 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
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. ...
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
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. ...
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 = ...
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 ...
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: ...
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
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
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 ...
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 ...
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
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 ...
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
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
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 ...
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 ...
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
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>&...
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
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. ...
0
votes
1answer
19 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
45 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
131 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
57 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
24 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
43 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
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 ...
1
vote
0answers
28 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
29 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
40 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
102 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
13 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 ...