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
269 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
60 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
139 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
59 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
38 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
174 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
597 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
225 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
63 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
863 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
103 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
61 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
41 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
133 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
158 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
57 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
73 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
108 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
72 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
53 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
37 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
117 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
112 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
315 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
135 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
70 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
302 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
227 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
27 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
124 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
56 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
46 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, ...
0
votes
1answer
87 views

Lookup field with formatted text

I've created several lookup fields programmatically in existing lists, currently they render with just one field as the text value, however I'd like them to display the contents of two text fields ...
1
vote
2answers
791 views

How to pass values from SP UI Modal Dialog back to the server side code upon button click event

I have a click event on a button that opens a sp ui modal dialog page. and returns a specific value from a text area on that page. I was able to open the page in the modal dialog and able to return ...
0
votes
0answers
253 views

clientContext.ExecuteQuery() giving an error: The remote server returned an error: (403) Forbidden

I'm trying to connect to SP site programmatically and get List data (external list) But getting an error: The remote server returned an error: (403) Forbidden. At clientContext.ExecuteQuery(); ...
2
votes
2answers
112 views

Looping retrieved Items throws an InvalidCastException

I have some very simple code using the client object model to retrieve a list and all items from that list from a SharePoint 2013 Online site. When the ExecuteQuery() fires, I use Fiddler to view the ...
0
votes
1answer
80 views

How to read values from Secure Store Service Application in a timer Job

I have in my sharepoint application an external source that must be accessed by 2 parts of my application The first part is a page, where the users can search on a form, the external data. The second ...
1
vote
1answer
459 views

SharePoint 2013 Search Rest API POST request format

I am hoping to save someone some time as I couldn't find anyone talking about this anywhere. I am looking at the SharePoint 2013 Search Rest API documentation and decided to switch my GET calls to ...
0
votes
2answers
190 views

Use server object model check if SPListItem field is a SPUser or SPGroup

I am making a TimerJob that duplicates ListItems from one SiteCollection to another. In order to do this I need to copy the Users and Groups over to the other site. I am having trouble identifying ...
0
votes
1answer
64 views

Central admin: Job definition (_admin/ServiceJobDefinitions.aspx) page throwing object reference error

The Central admin: Job definition (_admin/ServiceJobDefinitions.aspx) page throwing object reference error. Everything was working as expected 3-4 days back , i tried to check if my custom timer jobs ...
0
votes
0answers
43 views

How expensive is it to pass around SPListItem objects?

I'm working on a service application to keep lists in different site collections in sync. Part of what is going to happen is that, when an item is updated in any of the lists, an event receiver is ...
3
votes
1answer
41 views

Sharepoint 2010 on a Sharepoint 2013 farm? Beneficial?

Here is an article that shows how to present SharePoint 2010 on a SharePoint 2013 farm: http://nikpatel.net/2012/10/13/understanding-sharepoint-2010-experience-in-sharepoint-2013/ If I do the process ...
0
votes
3answers
71 views

Sync two SP calendars

My criteria is as follow: If I add an event in Calendar A , then I want the same event to be added in a different calendar B with some condition. So that I don't have to pick a specific item from ...
1
vote
1answer
467 views

Check box in gridview should update the splistitem check box

I am a newbie in visual studio. I have a Sharepoint list which contains the following fields group name, user, section and active(which is a check box) . I have a grid view visual web part which will ...