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

Injecting dynamic list content into an alert template email

I have tried, and successfully failed, to determine a way to inject the emailed item's value from a universal custom column into the default alert emails generated by SharePoint, in both the subject ...
2
votes
1answer
292 views

Programmatically trigger “New document” action in a document library

I've been asked to check if it is possible to trigger the creation of a new document linked to a content type. Like, to make it simple, you have a webpart, a button, you click it, and it opens the ...
2
votes
2answers
406 views

Client Object Model don't work without “cookies”

Problem could be reproduced for all types of Client Model Object (Managed, JS, etc..) for example (Managed Client Model Object): using (var context = new ClientContext("http:\\WebApplicationURL")) { ...
0
votes
1answer
894 views

Failed to retrieve the COM class factory for component with CLSID SP.SPRequest

On SharePoint 2010, we have one service running at SharePoint WFE which is using the SharePoint server API. If the SharePoint and our service are not used for couple days, we may get the following ...
0
votes
0answers
59 views

create a workflow that takes users inputs (yes/no) adds to the attendance list for the event

How do I create a workflow or something that allows a user to create an event on the calendar with a set amount of seats. Then have people say yes or no to attending the event, have them added to a ...
0
votes
1answer
206 views

C# custom list checking

I have made new custom list (throught sharepoint), and I have only add couple custom fields, which type is TEXT. I have rename that TEXT example "Extra". I know how I can read list through code. ...
0
votes
2answers
381 views

Import File from SharePoint and Link this file with SharePoint (File- Excel File)

I am using SharePoint 2013 and Microsoft Office 2007 or above. Scenario: I upload a Excel file to a SharePoint 2013 list. Now, I want to import this Excel file from this SharePoint list back to ...
2
votes
0answers
25 views

Navigation settings changed but not applied

I have this in mij feature which is activated after the creation of a site PublishingWeb pubWeb = PublishingWeb.GetPublishingWeb(web); WebNavigationSettings navsettings = new ...
2
votes
5answers
2k views

Problem connecting Visual Studio 2013 to SharePoint 2013

I'm having a big issue in connecting Visual Studio 2013 to SharePoint 2013. When I create a project in VS2013, I choose SharePoint Empty Project and then the URL of my SharePoint site, when I click on ...
2
votes
2answers
112 views

Novice Developer

I have not been able to find any related subject here related to training patterns, Some of us who have gone through the C# basics and moderate courses as well as some other courses may be at loss ...
0
votes
1answer
218 views

Code Download file from Doc icon image in sharepoint 2010

I have written code where it will show the Sharepoint document library in sp grid view. In the grid view it will show the doc icon Image correctly. Now i want to Download the uploade document from ...
1
vote
0answers
49 views

Few Projectproperty and Listproperty fields returning empty values (CrossListQueryInfo)

I am running a CrossListQueryInfo and the ViewFields for the CAML includes <ProjectProperty Name="Title"/> <ProjectProperty Name="Url"/> <ListProperty Name="Title"/> ...
2
votes
3answers
445 views

Sharepoint 2013 Site Content > New Webpart Page

Please take a look at this link: http://msdn.microsoft.com/en-us/library/dd583147(v=office.11).aspx In that link it explains how to add custom templates into SharePoint for when you create a new ...
1
vote
1answer
53 views

Cross-Site Search in Sharepoint 2013 Foundation

My question is simple. How can I configure Sharepoint 2013 Foundation to have cross-site searches. For example: I have 4 sites in all. Marketing, Advertising, Human Resources and Office. If I am in ...
1
vote
2answers
683 views

Check if site exists from client side

I am currently running the following code to check if there is a site with a title equal to my string myname. This code is however very time consuming because I have a large number of sites. Is ...
2
votes
2answers
25 views

Controlling which feature a project element is added to

How does visual studio decide which feature to add an element to? My features have a specific order which they need to be enabled (and its set using Feature Dependencies) but I need a simpler method ...
3
votes
2answers
80 views

Getting spuser from multiple types of information

If this sounds confusing it's because I'm al little confused on it myself. Basically I have an application (originally written by someone else but never finished) that needs to perform various actions ...
0
votes
0answers
194 views

Get IP Address of client

I was wondering if it was possible to get the IP address of the client machine accessing a 2013 website. Is it possible to do this with an ajax call by utilizing one of the sharepoint RESTFUL ...
1
vote
1answer
107 views

How to get content from Content Editor WebPart (CEWP) to a custom WebPart on the same Page?

I have two webparts on a single page: Content Editor WebPart My Custom WebPart I need to send content from 1 in HTML format to 2. Is there a way to achieve this? I was thinking of, maybe, adding ...
1
vote
2answers
175 views

Error in my CAML Query? COMException (0x80004005)

I was wondering if anyone could verify or see an error in this CAML query: SPQuery query = new SPQuery(); query.Query = string.Format( ...
1
vote
1answer
54 views

Remote SharePoint 2010 Test Server running on VM

Currently I'm looking for a way to improve our test environment. I found it very useful to have a remote SP test server. So I created VirtualBox VM images for a domain controller and for a SharePoint ...
3
votes
1answer
377 views

Word-Wraping for the calendar

The first image named calendarSample1 is a screenshot of the sharepoint calendar in IE10. The second image named calendarSample2 is from Google Chrome. I am trying to make the text within the ...
1
vote
1answer
54 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
50 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
54 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
116 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
76 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
2k 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
90 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
43 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
475 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
26 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
100 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
218 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
562 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
45 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
109 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
115 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
122 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
255 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
107 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
74 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
45 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
343 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
88 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
1k 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
435 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
70 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
2k 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
319 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: ...