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

Cannot toggle personalization scope programmatically

I'm trying to switch personalisation scope for the current user: protected void lnkToggleMode_Click(object sender, EventArgs e) { try { var wpmgr = ...
1
vote
1answer
40 views

How can I know from list id that it is a list or a library?

I want to know whether the current list which I have is Custom list or a document library. How cant I check this programmatically?
1
vote
1answer
477 views

How to connect SharePoint 2013 and Visual Studio 2012 to create a simple form?

I am a beginner when it comes to SharePoint so please bear with me, I apologize in advance for my inaccuracies. Here is what I need to do... I need to build a form in C# .NET in VS 2012, deploy it ...
0
votes
1answer
186 views

Getlistservice.asmx ignoring caml query

I am using Sharepoint 2013 Online. I have the following code using the /_vti_bin/lists.asmx web service XmlDocument camlDocument = new XmlDocument(); XmlNode camlNode = ...
0
votes
3answers
2k views

Custom List Form Will Not Deploy

A demo List Form using Visual Studio 2010 to test and experiment with a few things. Nothing at all was added inside the project. Functionality, etc, will be added later, but at this point it was ...
0
votes
1answer
708 views

User Impersonation in a High Trust SharePoint App using the client-side object model

As I understand it, high trust apps have the ability to impersonate a user (link): The app is considered high-trust because it is trusted to use any user identity that the App needs, because the ...
1
vote
2answers
1k views

Library event receiver - Object reference not set to an instance of an object

Yesterday I asked, where custom columns can come from. You helped me and told me that maybe it's event receiver. I created new event receiver and I added that try catch part: (Of course I change ...
2
votes
1answer
1k views

Create a list from list template from list template gallery folder

Hi I need to create list programatically from list template which is in inside folder of List Template Gallery (List Template -> folder -> template.stp.)
0
votes
2answers
427 views

How to determine custom application page URL independently of the environment/farm?

I have deployed a custom ribbon button and when a user clicks it, I open a custom application page - I have deployed the page to _layouts mapped folder. To open the page (with JavaScript), so far I'm ...
0
votes
1answer
32 views

Can not adding Solution to Sharepoint

In visual studio I am getting below error while deploying my project to SharePoint site. ** Active Deployment Configuration: No Activation Run Pr-Deployment Command: Skipping deployment step ...
0
votes
3answers
5k views

Could not load file or assembly 'Microsoft.Sharepoint.Sandbox' or one of its dependencies

I created an ASP.net webapplication and i have used assemblies Microsoft.SharePoint; and Microsoft.Office.Server.UserProfiles in it.. i get a run time error "Could not load file or assembly ...
0
votes
1answer
31 views

Download image from Imagelibrary

I have an event receiver that should download images from an imagelibrary, and do some stuff with that copy. There will be several images with the same customid that i want to grab, so I loop over all ...
0
votes
1answer
101 views

ListData.svc not getting managed metadata

I have written a C# agent that pulls data from SharePoint using the ListData.svc web method, parses the XML data, then puts it in SQL and it works great, however ListData.svc does not appear to expose ...
0
votes
1answer
990 views

Deleting all nodes from QuickLaunch

This is my code to delete the QuickLaunch Navigation Nodes. I am using the SharePoint 2013. public void 2013NodeOrders(string siteUrl, string quickLaunch) { ...
1
vote
1answer
33 views

Is there an event to watch for when a user follows a person/document/site/tag?

We are doing R&D on integrating the updates post in Confluence with the SharePoint newsfeed. One thing I need to do is create a "listener" that can update a central content store when a user ...
2
votes
0answers
246 views

How to automatically switch to Edit Mode after creating a page?

When adding a new page to SharePoint (through Pages list) and clicking OK, the user is redirected to Pages list. How to force SharePoint to open that page in Edit Mode? I've been thinking about ...
3
votes
2answers
293 views

Where to store data needed by a custom timer job?

I have a custom ribbon button in each document library and when a user clicks it, I'd like to store some library-related data (URL, id ...) in a way that would make it available to a custom timer job. ...
2
votes
1answer
804 views

What are the current options for a Sharepoint Online trial from Windows XP?

A year ago I had 30-day trial for Office 365 (Sharepoint Online 2010). Everything worked fine from my Windows XP SP3 (x86. 32-bit) for development from Infopath Developer and Sharepoint Designer ...
1
vote
2answers
416 views

Why does SPList.GetItems(string fields[]) return more fields than specified?

I'm using SPList.GetItems(string fields[]) to obtain only specific item fields from a document library: SPListItemCollection items = list.GetItems("UniqueId", "Name"); However, iterating the items ...
0
votes
1answer
182 views

How can I differentiate an user from a workflow while in an ItemUpdating Event

Is there a way to differentiate an user from a workflow while in an ItemUpdating Event? To show the my problem here's the ItemUpdating method: public override void ...
1
vote
2answers
792 views

Error while adding a Calculated column to a list using Client Object Model

I am trying to add some fields to list using the client object model. Everything is working except the Calculated field. Every time SharePoint gives the error: An error occurred while parsing ...
1
vote
0answers
30 views

deploying wsp onto a different sharepoint server

I have created a share point project that works on a development share point site. When I compile it to WSP and upload it to share point online, and activate it, it doesnt work.. I always start ...
2
votes
1answer
459 views

Add file without checking in

I have a question. How can I add a file without checking it in directly? I add file like this: Library.RootFolder.Files.Add(fileName, buffer, overwrite); But when I do that I suppose the file is ...
1
vote
1answer
326 views

Get SPFolder by Folder's Name

I'm working on a web part that gets all the children of a SPFolder. The catch is I only have the folder's name. Would this be possible using a CAML query? If not how could I construct the folder's ...
1
vote
1answer
2k views

SharePoint Foundation 2013 - Audit log

Can I read from audit log, how many times item has been clicked? I know that I can do it using Server edition, but what about Foundation? What I have done: Central Administration, I enabled Secure ...
3
votes
1answer
5k 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
1answer
536 views

Assign value to Date Control in InfoPath form programmatically

I need to assign a calculated value to date field in infopath form. I am unable to assign the value as I get "schema validation found non- datatype errors" error. The following is my code: int ...
0
votes
2answers
2k 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 ...
3
votes
2answers
147 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
0answers
55 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 ...
1
vote
1answer
81 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 ...
1
vote
1answer
8k 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 ...
2
votes
1answer
740 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, ...
1
vote
2answers
854 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.
5
votes
1answer
2k views

JavaScript error using date picker inside an update panel?

I placed the SharePoint date picker control inside an update panel and when I click on the calendar it gives me this error: Microsoft JScript runtime error: The value of the property ...
2
votes
1answer
2k 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 ...
1
vote
1answer
684 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
2k 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
41 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 ...
0
votes
1answer
3k views

How to increase the column limit of a list in sharepoint

I have created a list programmatically and added columns.but error comes due to column limit.Please help.Here is my code.My logic is:When an item is added to list "Future Projects" a new list shold be ...
1
vote
1answer
42 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
178 views

TopNavigation Bar is shown Null for Report Centre site in Sharepoint 2007

I have create a Publishing site collection in Sharepoint 2007 and when i try to get the TopNavigation Bar for 'Report Centre' site I get it null. Why ? However for Document Centre,News etc it is not ...
1
vote
1answer
90 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 ...
0
votes
1answer
637 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
135 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
5k 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 ...
2
votes
2answers
4k 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
31 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
114 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
1answer
23 views

I want fill dynamically the lookupFields with method Insert in class + C#

my code is public static void AddNew(string title,string AddedDate, string Discription, string AddedByLoginName) { using (SPSite sps1 = new SPSite(SPContext.Current.Web.Url)) { ...