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
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
3answers
11k 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 ...
1
vote
1answer
712 views

SharePoint Claims authentication on external zone : Could not retrieve the IIS Settings. Parameter name: context

SPClaimsUtility.AuthenticateFormsUser(Context.Request.UrlReferrer, txtEmail.Text, txtPassword.Text); This authenticates the user properly and lets me through to a page that needs authentication on ...
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
1answer
3k views

Register a global.asax into a SharePoint Site

I'm trying add a .asax file into a SharePoint site. I've been following this tutorial. It's quite simple but I'm new to web programming, and I didn't understand where I must insert (and how) the ....
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 ...
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="...
3
votes
1answer
1k views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online Document Library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
1
vote
2answers
923 views

How to create SPQuery by filtering date interval

I have a custom aspx form where I retrieve list items by filtering two values EventDate and EndDate. I have a realization but it returns nothing: DateTime eventDate = Convert.ToDateTime(properties....
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 ...
0
votes
1answer
681 views

Sharepoint list to XML including the headings?

We store data regarding Scrum sprint retrospectives in a SharePoint list. I have to create a chart for visualizing this information (which is not part of this topic/problem), so I need to somehow ...
1
vote
1answer
24 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
668 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
58 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()) ...
2
votes
1answer
2k views

Error: Unexpected response data from server - user Profile properties displays

I get the mentioned error message when i try to display the User Profile properties by using JSOM(Java Script Object Model) Error: Unexpected response data from server. The error occurs for around 1 ...
2
votes
2answers
958 views

How to Create WF with C#

I have learned about Workflow by dropping and clicking and the next phase is learn how to create WF with C# based this link (http://channel9.msdn.com/Series/Reimagine-SharePoint-Development/...
10
votes
5answers
36k views

How to get current user with javascript?

I have a list . I want select items of list with a special quary.(get items that created with current user). Then get count of items. I use this code for get current user : function Initialize() { ...
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 ...
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 ...
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
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 ...
0
votes
3answers
736 views

Combine Two ListItemCollection objects

I have two ListItemCollection objects created after calling SharePoint GetItems with a Caml query - public Microsoft.SharePoint.Client.ListItemCollection GetItems(Microsoft.SharePoint.Client....
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
2answers
1k views

How to change a date format in CAML

I got a wrong date format to a CAML. I have got (yyyy-mm-dd) and must to be understand by CAML to the format(dd-mm-yyyy), how can I do this. I tried by String.Format("{0:yyyy-mm-dd}", dateISO1);, but ...
1
vote
0answers
29 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
1answer
1k views

Get sub folder from document library using SharePoint.Client.dll

I need to get the folder named Arshad from SharePoint Document library folder. The path of the sub folder is : http://url/Shared Documents/Arshad I need to access the folder using SharePoint ...
3
votes
3answers
2k views

How can I implement SharePoint JSGrid filtering and grouping functionality?

I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid. For filtering we have to attached ...
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
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#?
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
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 ...
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:...
5
votes
3answers
160 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
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 ...
0
votes
1answer
35 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
31 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 ...
20
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
43 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
482 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 ...
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
397 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
33 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
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 ...
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
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 .