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

Add a folder to a document library and break permission inheritence

I have a web part that is being used to manually add folders to document libraries (Part of the requirements is that only administrators can add folders, contributors must only be able to add ...
0
votes
0answers
32 views

How to create list from excel sheet located inside document library?

I need to create and calender control/list in share point from an excel file, there are many tutorials available for this on net, but unfortunately this excel file needs to be updated timely and hence ...
3
votes
1answer
41 views

How to use Application Pages for a content type's form

I want to use a custom application page for my workflow task view/edit form, I searched the internet and find it is possible to set url for content type's edit/view form, my code to update task's form ...
1
vote
1answer
78 views

Check user read access to a particular list item

I need to check if a user has read level access to a particular list Item. What would be the best approach 1) listItem.DoesUserHavePermissions(currentUser, SPBasePermissions.ViewListItems); //here ...
1
vote
2answers
60 views

Pass Values to Event Receiver

I have an event reciver which sends an email when a listitem is being deleted. When the user clicks on the item, a popup prompt is displayed on the page and the user is requested to give a reason for ...
3
votes
2answers
795 views

change the default tile size in Sharepoint 2013

Hello, I create an app using the Promoted Links in Sharepoint 2013. I chose to do this because the feature has the awesome hover effect and is easy to customize the image. The issue is that I ...
0
votes
0answers
60 views

Consuming SharePoint Web Services OR Client Object Model through UAG

I am using Visual Studio 2010 to write a Windows Forms application to consume either Web Services (via old SOAP web reference 2.0) or via the Client Object Model, by using the methodology (and code ...
1
vote
2answers
33 views

How to undo code option, “edit Form code”

I was playing around with InfoPath and then i click on "Edit Form Code...". Now I am unable to publish the forms without getting "An administrator must approve this form temaplte before it can be ...
4
votes
2answers
237 views

Using Distributed Cache programmatically. “Cache referred to does not exist” error

I'm trying to take advantage of Distributed Cache in SharePoint 2013 programmatically from a console application. I want to store custom objecst inside App Fabric Cache. Here is the code that throws ...
0
votes
0answers
25 views

set properties for ShimFileCreationInformation object

I am writing some unit test cases using fakes framework. I am using an object ShimFileCreationInformation from Microsoft.SharePoint.Client.Fakes namespace. Now, I pass this object to a function. ...
3
votes
3answers
96 views

what is a feature?

I am starting to read up on SP development but none of the books I have checked have been able to answer this seemingly simple question. I am pretty new to the dev side of things and feel like I ...
3
votes
2answers
125 views

Sharepoint unit testing using fakes framework

I have an application which uploads a file to SharePoint via client object model. Now I need to write unit test cases for this application. The problem is, I how do I write test cases for the ...
1
vote
1answer
278 views

SPFieldUserValue User is null

I have a list in which I can also view the version of each item. Suppose I have an item ItemX which has been modified by UserX, I then delete UserX and try to view the version item of ItemX which had ...
0
votes
1answer
42 views

What would be the best approach for assigning permission for the document in library?

I working on a requirement in which there are contributor list for each document in sharepoint library. The contributor may be unique set of users for each document. I wanted to know what would be the ...
0
votes
1answer
72 views

ApplyChanges not working from Toolpart

I've tried every solution, and searched every part of the internet, and yet, I do not seem to understand why my properties aren't saved. I've attacked the code. And maybe someone can help me out here: ...
0
votes
1answer
61 views

Send email with sharepoint

I'm trying to send an email using c# sharepoint library. Though I'm getting an error that reads... Error in test: Object reference not set to an instance of an object. The code I'm executing is ...
1
vote
2answers
72 views

How to retrieve email address from user ID?

I'm developing an Event Receiver in C# and I would like to retrieve the email address from a user ID. How can I do that? Thanks
1
vote
0answers
149 views

SP DataTimeControl validation issue (error message does not disappear after choosing correct date)

I write simple WebPart with few asp.net controls. I have problem with validation control and SharePoint date time control. The markup: <SharePoint:DateTimeControl ID="dtc" runat="server" ...
0
votes
1answer
60 views

Multiple Timer Job in the same SharePoint famr solution project shows up with the same Title in Central Admin Job Definiation

I have a SharePoint farm solution in VS2013 for SharePoint 2013. It contains two timer jobs, and each has their own feature definition. Once it has deployed to the development SharePoint server ...
1
vote
1answer
47 views

duplicate field with guid was found Managed Metadata Fields

I've two Content Types, both are inherited from "Item" and both Contain the Same Field called "Analysis". This is a Managed Metadata Field. When I want to add both Content Types to the same list with ...
1
vote
1answer
39 views

SharePoint Tabs - Parent/Child Integraty?

I need to develop a SharePoint 2010 application which will be having more than 120 Fields. I would like to break the Fields into smaller modules (i.e., Summary, Impact, Dependencies, Plan, Decision, ...
3
votes
2answers
183 views

CAML query for sharepoint list not working

I have a CAML query where I am getting records between a date range for a sharepoint 2010 list through an asmx web method call. It looks like this ...
0
votes
1answer
69 views

SharePoint adds +1 to time when I set it

I have an issue with SharePoint date time field. Basically I have a date time field, and this field contains for example 19/12/2014 11:30:00. I would like to get this date and remove the time part, ...
3
votes
2answers
656 views

Custom Page Layout in Sharepoint 2013 Foundation

Sharepoint comes with a set of Text Layout Templates. How can I create my own custom Text Layouts under Sharepoint 2013 Foundation. What I'm trying to achieve is a shown below. PS: I do not have ...
0
votes
1answer
231 views

Unable to get event receiver to work with Document Library

I have created a Document Library named Attachments Library. In the library I have created an additional mandatory column of File Details. I intened to use this field to capture some metadata about ...
0
votes
1answer
64 views

Get Items from limited list by providing username and password - C#

I'm using this code in order to get items from SharePoint list. I have a SharePoint list that limited to certain users. How can I provide by this code (or else) a username and password and login as a ...
2
votes
2answers
921 views

Create list item in sharepoint list using REST API using C#

I have a requirement to create list item in a sharepoint online list using the REST API and c#. How to achieve this. Most of the article show using REST API in jquery and Javascript but I have a ...
1
vote
2answers
105 views

running SharePoint utility on non-SharePoint server

I wrote a utility in C# to copy files from a network directory to a SharePoint document library. When the sys admin tries to run the .exe from a non-SharePoint server, he gets the following error: ...
0
votes
1answer
62 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 ...
0
votes
0answers
42 views

sharepoint app user's self-service registration and authentication

I need to develop an application where users register and authenticate to a website in a self-service manner,and the application is a provider hosted application in Sharepoint 2013. Any ideas of how ...
3
votes
1answer
136 views

C# - Why impersonation is expired while ClientContext.ExecuteQuery() is performed

What I’m trying to do is to connect to SharePoint list by other credentials (impersonation) and print its items. I’m using this code for the impersonation, and it works almost perfectly, until ...
0
votes
0answers
159 views

RichHtmlField showing html markup in display mode

I am trying to render html tags with text in RichHtmlField control in SharePoint. Following is my code. <%@ Register TagPrefix="Publishing" Namespace="Microsoft.SharePoint.Publishing.WebControls" ...
1
vote
1answer
58 views

Potential memory leak with SPListItem?

I have created a Timer Job that iterates through a list of 100,000 items and finds the ones that are older than 120 days and "moves" them to a new site collection for archival. I am using a ...
0
votes
0answers
74 views

How to programmaticily create “SharePoint Sites Links” from SharePoint 2013 which are acessible from saveDialogs

First I would like to note that I have a similar post here to avoid doubleposting several posts many places: MSDN SharePoint Development 2013 Question My Customer wants to have a list of 10-20 their ...
1
vote
1answer
111 views

How to move the suiteBar so its centered

I'm having trouble moving the suiteBar using the margin:0 auto 0 auto; method. I'm trying to make the my sharepoint site's content centered no matter the monitor's screen size (adjusting the width of ...
1
vote
1answer
75 views

I am not able checkin/checkout the files in sub folders in the document library using client object model. Below is the code I am using

public void CheckOut()// CHECK OUT FUNCTION { try { string siteurl = ""; string filePath = ""; ClientContext context = new ClientContext(siteurl); context.Credentials = ...
1
vote
0answers
54 views

How can I tell which service application proxy belongs to a specific service application?

I am new to creating custom service applications, and I have been following the walkthrough given here to begin building my own. In that example though, the service app is built to only allow one ...
0
votes
1answer
38 views

Root site collection token in appending html

I have following code builder.AppendFormat("<img style='border:0; left:-0px !important;position:absolute;' id='AddQuickTagImg_{0}' alt=\"{1}\" src='<% $SPUrl:~sitecollection/Style ...
2
votes
1answer
121 views

Force create SPUser for disabled AD account

I am trying to get SharePoint to create an SPUser for a disabled active directory account. The reason for this is that I am archiving items across site collections. As the items are copied I am ...
0
votes
1answer
116 views

Check-In & Checked Out files inside folder in Document library using Client Object Model

I am not able checkin/checkout the files in sub folders in the document library using client object model. Below is the code I am using. public void CheckOut()// CHECK OUT FUNCTION { try { ...
0
votes
1answer
24 views

Creating a Table in PDF and updating the values in the table SharePoint 2010 programmatically

I am looking into adding a table into pdf with the columns - approver name and approver comments using c# code in console application. and then update the columns with values like "approver1" ...
3
votes
3answers
333 views

How to create a site in a sitecollection on a remote SPServer using C#

I am currently trying to write a Dynamics CRM 2011 plugin that creates a new SharePoint 2010 site (within an existing site collection) for every account that is created. I have the code for creating a ...
3
votes
1answer
137 views

Check- in & check-out files using client object model

As the title says, how can I Check- in & check-out files using client object model?
0
votes
0answers
72 views

Request for the permission of type 'System.Data.OracleClient.OraclePermission failed

I am facing a permission issue. I am deploying my asp.net application to SharePoint 2010 environment as a WSP solution package. Our application uses Oracle client to contact our Oracle database and ...
0
votes
1answer
324 views

Sharepoint 2013 foundation custom css

I am having trouble adding my custom css file work in Sharepoint 2013 foundation. I added a link tag in both v4.master and seattle master pages but to no avail. I thought it would be straight forward ...
1
vote
2answers
240 views

Updating 'Created By' field in SP2010 programatically

I'm trying to import data from an .xml file to a custom list in SP2010(created programmatically). I'm able to create and update all fields except 'Created By' as it says that "Cannot update read only ...
1
vote
1answer
28 views

Site collection not created programmatically only in LIVE Server

I am using SharePoint 2007 and was not able to create site collection and add sites pro grammatically using c# code. Some times it creates the site collection and some times it doesn't. works fine ...
0
votes
1answer
129 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 ...
0
votes
0answers
57 views

SharePoint 2010 - Create Group Manager programatically in Term store

I have developed code to add user to group manager in Term Store management for particular Term Set, I read the Microsoft article from here. So as per the hierarchy of permission logged in; user must ...
1
vote
2answers
47 views

Update metadata on n amount of files at the same time programmatically, using SPListItem update methods or SPWeb update batch?

I need to update meta data on multiple files that exist on my SharePoint 2010 site. When starting the method that will update the metadata i do not know how many file that will need to be updated, ...