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

learn more… | top users | synonyms (3)

2
votes
1answer
561 views

Creating a Registration Form in SharePoint 2013

I need help with this task. I would like to create an app/webpart in SharePoint 2013 Foundation that displays a list of events. Users can see this and if interested can signup for which ever event by ...
0
votes
2answers
262 views

How to assign my custom permission level to my TestGroup?

I have created one group Name: TestGroup and one permission level Name: Custompermisionlevel How can I assign the permission level(Custompermisionlevel) to my group programmatically? I'm using this ...
0
votes
0answers
30 views

Publishing Image Always Null in Code

I'm building a web part that outputs fields from child site welcome pages. I use publishing images to allow users to select the background images from a library. Whenever I attempt to get the images ...
0
votes
1answer
48 views

Develop Sharepoint 2013 web parts from client using VS 2012

How I can develop my visual web parts from my client using VS 2012? When I want to create a sharepoint 2013 project I receive a message that sharepoint server does not installed on my client. Is ...
0
votes
1answer
189 views

Trying to view custom application page in browser results in “404 FILE NOT FOUND” error

In VS2010 I created a new .NET 3.5 solution and inside a new project for SharePoint 2010 (empty project called "SPAppPageTest"); I deployed it as a farm solution. I added a new application page, ...
2
votes
3answers
2k views

Get absolute URL to listitem's default display form

I need to have an absolute URL of a listitem's display form - currently I do it the following way: On http://mydomain.com/: item.ParentList.ParentWeb.Url.TrimEnd('/') //"http://mydomain.com" + "/" ...
0
votes
2answers
157 views

Cross-site collection navigation in SharePoint 2013 Foundation

Is there a way create or activate cross-site collection links. So if I'm under the Accounting Department site I can go into the Marketing Department site. I looked all over sharepoint and no luck.
1
vote
1answer
62 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
309 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
424 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
949 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
218 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
409 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
223 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
51 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
476 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
714 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
198 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
113 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
180 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
56 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
386 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
55 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
51 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
119 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
78 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
44 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
486 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
222 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
573 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
110 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
118 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
264 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
109 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
46 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, ...