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

learn more… | top users | synonyms (3)

1
vote
4answers
55 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
39 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
42 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
36 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
27 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 ...
1
vote
2answers
32 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
24 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
27 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>&...
1
vote
1answer
58 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
3answers
12k views

Download files from document library using C#

Task: There are some Excel files or documents on SharePoint site that I need to download to my local drive. I'm a newbie to C#, so please give me directions on how to start and complete my task. I ...
0
votes
1answer
24 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
47 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 ...
2
votes
2answers
1k views

Custom Web Part getting instantiated twice on a Page Layout with WebPartID=“00000000-0000-0000-0000-000000000000”

A specific custom web part is being instantiated twice on a certain page layout, even if it’s only declared once on the page layout. Declaration like this: <%@ Register tagprefix="...
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
25 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 <...
1
vote
2answers
723 views

How to get all major versions of List or Library Item using C#?

I have document library which has over 100 items. Each item has over 30 to 40 major & minor versions. I want to get only major versions of particular item programmatically using C#. foreach (...
3
votes
1answer
61 views

SPSite currentSite using try/catch block

What is a better approach when it comes to writing code for sharepoint 2010 applications: using (SPSite currentSite = new SPSite("SiteName")) { using (SPWeb currentWeb = currentSite.OpenWeb()) ...
1
vote
3answers
60 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 ...
3
votes
1answer
37 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 ...
2
votes
2answers
2k views

Sharepoint online Custom Expiration

I was wandering if someone could assist, I am currently trialling office 365 and would like to use sharepoint online. One of the main reasons I need sharepoint online would be for Document management....
9
votes
3answers
13k views
0
votes
0answers
24 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 ...
0
votes
0answers
33 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
44 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(); ...
1
vote
0answers
33 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
40 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:
17
votes
2answers
4k views

Manage trust/add certificate

I try to add a certificate under "central administration>security>manage trust" but I always get the following error: The Root Certificate that was just selected is invalid. This may be ...
0
votes
3answers
38 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#?
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
1answer
49 views

Data Retention in sharepoint 2010

I had uploaded a document in document library and had given data retention period as 1 day then I ran two timer jobs for information management policy and expiration policy. That document got deleted ...
2
votes
2answers
49 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 ...
1
vote
4answers
130 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:...
5
votes
3answers
163 views

Keeping VM images consistent across development team

In trying to keep VM images consistent across our development team we need to ensure that SharePoint groups/users/permissions/audiences etc stay in sync as part of our CI process. Can anyone suggest ...
0
votes
0answers
15 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
38 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
40 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
1answer
92 views

64 bit vs. 32 bit - Significantly longer time to attach the debugger

Since switching to a 64-bit dev environment on Sharepoint 2007, I've noticed it takes orders or magnitude longer to attach the Visual Studio debugger to the OOTB SharePoint assemblies and my custom ...
21
votes
4answers
2k views

How are you doing automated testing?

One area that I have always found a challenge is being able to get my automated builds (in whatever guise, MSBuild Nant etc) to deploy the created solution (WSP) to a remote machine, install and test ...
0
votes
2answers
45 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: ...
5
votes
1answer
503 views

Logging in Apps, where, and what other options do I have

If I am using a provider hosted app with the code below, its not clear to me how can I monitor logs, provider hosted apps runs in this case in a separate iis site, correct? The System.Diagnostics ...
0
votes
1answer
401 views

SharePoint Hierarchy

Can someone please once and for all explain to me clearly how it is with SharePoint hierarchy? The names that are displayed are all mixed up, the names of classes are all mixed up and the diagrams ...
0
votes
0answers
45 views

SPContext.Current.ListItem is not filled while url parameter ID is available

I have a page that I made in C#. It's deployed and the page comes up nicely. However, I see in debug mode that, when I pass in the customary "List" and "ID" url parameters, the SPContext.Current.Item ...
1
vote
1answer
19 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 ...
2
votes
2answers
2k views

Unable to Delete Custom Master Page Programmatically During Feature Deactivation 2013

I currently have a custom master page that is being deployed at the Site scope. Once deployed and the feature is activated it makes the master page available for use. I am able to activate the ...
0
votes
0answers
18 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 .
0
votes
2answers
67 views

Error occurred in deployment step 'Add Solution' Sharepoint 2013

My machine shutdown when I was taking the solution backup. Then I started, I coudn't deploy the solution code from visual studio saying Error occurred in deployment step 'Add Solution': <nativehr&...
1
vote
0answers
22 views

Sharepoint dashboards interaction

On a SP BI solution there are two dashboards, both interactive. The wish is when someone click on a field in the left dashboard, an action is happening in the right dashboard, that is, sorting the ...