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

learn more… | top users | synonyms (3)

3
votes
4answers
11k views

Error message: “A sharepoint server is not installed…”

Im trying to develop a Visual Web Part using Visual Studio 2010 RC. I have not installed SharePoint 2010 locally on my developer box, but I have installed it on my Windows 2008 Server VPC. When I try ...
1
vote
1answer
336 views

How can i get entire role assignments from SP 2010 using the COM interface including the users in the AD groups and not the groups names?

I've been trying to get all the RoleAssignments using the COM interface. the problem is that i get the AD user group names instead of the actual users inside the groups. my code looks something like ...
2
votes
0answers
711 views

Url to an item with Client Object Model

Regarding my question, at this moment i'm writing some client object model code and I can't find a way to retrieve create make an url ... My question now is: How can I create an url to an item? I ...
0
votes
2answers
805 views

Visual studio 2010 email activity for workflow

I am using visual studio 2010(sequential sharepoint work flow) and trying to send an email activity automatically when the approval is rejected. I have added the "send email" activity in the workflow ...
0
votes
2answers
446 views

Ribbon button and client object model code

My question is regarding the button on the ribbon and client object model code. I'm not sure how to do it: So i have a button here: <CustomAction Id="NewButton" Location="CommandUI.Ribbon" ...
0
votes
1answer
141 views

Invalid URI when trying to empty recycle bin

Based on this question I wrote the following in my class for emptying the recycle bin: public static void EmptyRecycleBinItem(string siteCollection, string originalLocation, string filename) { ...
1
vote
1answer
72 views

Checking SharePoint Uptime Remotely

I was wondering how people have gone about programatically checking if SharePoint is still available? I use the following now to check it, but it relies on the SharePoint object model and must run on ...
1
vote
1answer
83 views

The location of EmailLink command implementation

My question is regarding a command which is bound to an OOTB button. On the ribbon you have a button to email a link, so this buttons they have some commands like: EmailLink, EmailLibraryLink, etc For ...
0
votes
1answer
1k views

Can't see any custom fields when 'adding new item' to custom list

As title says, I can only see the 'Title' field when adding a new item to my custom list. Any ideas? I've double checked the field definitions and checked the field references are in both default ...
0
votes
1answer
161 views

Digitally signing a docx on sharepoint document library with no need to open the document with C#

My question is that is it possible to sign documents without the need to open that document?
0
votes
0answers
57 views

Error Running Code Analysis in Visual Studio 2010

I am developing my web parts in SharePoint 2010 and have code analysis framework installed. I have 4 (1 is SharePoint project other are class libraries) projects in my SharePoint solution. All build ...
9
votes
6answers
1k views

How to choose a development computer for a SP 2010 environment?

I'm looking for a descent development computer that targets SharePoint 2010. The computer must be a laptop and does not have to rely on a domain controller (or at least not all the time). What are ...
2
votes
1answer
307 views

Changing the sort field in search center

Using MOSS 2007. The only OOtB options for sorting search center results are Relevance and Modified Date. There doesn't seem to be a way to do it through the XSL. I was wondering if and how I could ...
0
votes
1answer
28 views

Possible to get a list of scheduleditems?

Is it possible to get a list of ScheduledItems from SharePoint in C# (event receiver)? For example, I've created a ScheduledItem and called the .Schedule() method. I'd expect this ScheduledItem to ...
2
votes
1answer
93 views

Is it possible to enable PDF Crawling in Foundation 2010 Search?

I am trying to enable PDF crawling for Foundation Search V4, but have only been able to find resources for PDF crawling for the complete versions of 2010 - Some of the instructions and procedures vary ...
0
votes
1answer
206 views

Foundation 2010 Services fail to restart on reboot

All of the services on our SP Install that use Domain Accounts fail to start automatically after an IIS Restart or System Restart. Services Affected: SharePoint 2010 Timer - Logging on as ...
0
votes
2answers
58 views

How do I figure out if I have permissions to use site.openWebs without changing code?

I have been newly assigned to a client and I am trying to run an existing console app to get some information about files within their sharepoint instance. The code goes something like this: //Enter ...
0
votes
1answer
2k views

Copying items from one list in one site to another in another site?

I have a class that I've been working on to allow me to move items in SharePoint, whilst retaining meta data. The class is as follows: public class Lists { /// <summary> /// ...
1
vote
0answers
154 views

Visual Studio intellisense over WebDav (DAVWWW) does not work. Failed to Start Monitoring

The page lives in a library inside SharePoint 2007 and has inline c#.. no master page or sharepoint references. I can open, edit and save the page via the URL. But getting warnings and no ...
1
vote
2answers
1k views

How to add check-in comments to Alert Email?

Ok so I want to customize the email alerts that are sent out when a document is modified so that besides the information that is already there, it also shows the comment that the editor typed in when ...
1
vote
3answers
1k views

change title of a modal window

how can I change the title of a modal window open through the command using? ExecuteOrDelayUntilScriptLoaded(function () { openModalWindow('.....')},\"sp.js\"); I would like the person to see: ...
0
votes
2answers
94 views

SP 2010: Set RSS settings for a web application with powershell

PowerShell allows to set/retrieve web application settings e.g. $webApp = Get-SPWebApplication $siteURL $webApp.DefaultTimeZone Will return the Default Time Zone of the web application. I'm now ...
0
votes
2answers
486 views

Webparts: What are publickeytoken's, how do I find out what I should set as?

I've been following the following guide to write and deploy a simple web part (first time doing this): http://www.codeproject.com/Articles/25019/Getting-started-with-SharePoint-2007-Web-Parts I hit ...
0
votes
3answers
3k views

C# If statement: The name Example does not exist in the current context

I am making this if statement and inside i am setting this SPWebTemplate which is a type. I think it would work fine, but it says that it does not exist in the current context. if (properties.WebUrl ...
0
votes
0answers
142 views

SharePoint calendar display BCS data

I'm trying to aggregate multiple datasources and display the data in a single SharePoint Calendar. The datasources are all fed from BCS, coming from a variety of systems. I have the BCS models / ...
0
votes
2answers
3k views

Adding multiple controls to AdditionalPageHead

My question is regarding the delegate control AdditionalPageHead, as we know it allows multple controls to be loaded. My questions are: How to add multiple controls? I want that the different ...
1
vote
1answer
330 views

Page load time in SharePoint web part?

I'd like to add a simple web part to one of our pages to track the load time of the page and display it to the user. Although I thought this would be common / easy to google it doesn't appear to be ...
0
votes
1answer
381 views

How to access a javascript variable from a parent page in a modal window?

I have a page with the following javascript on it: var myVal = 'something'; Pub.Ribbon.PubRibbonComponent.launchDialog('_layouts/RteUploadDialog_Advanced.aspx', ...
0
votes
1answer
331 views

GetLocalizedString in CreateChildeControls returns source string

I have a strange issue ... I want to retrieve resources programmatically from a SharePoint default resource file wss. So in one of my controls im executing the following code: protected override ...
2
votes
2answers
718 views

sharepoint webpart property disappear after a day (C#)

I developed a custom webpart with a webpart property with some textboxes and it works partially. If I deploy the project, the written text in the property is away. This is ok. But my MAIN Problem ...
2
votes
1answer
119 views

What kind of page to use?

I'm building an interface that allows for users to customize the webpart zones on their page to a layout of their choosing. It seems the best way to do this is to have all possible layouts present on ...
1
vote
2answers
924 views

Sharepoint Ribbon: Circumventing Context sensitivity

First of all, I've asked this same question on StackOverflow. I don't know if questions asked there are visited by users here and vice-versa, so in hopes that my question gets the most exposure, I'm ...
3
votes
2answers
2k views

Copy file to sharepoint

Below is my method which is meant to copy a file from a folder on my desktop to the sharepoint document library shared documents. Its giving me error on SaveChanges method call, error shows me this ...
0
votes
1answer
45 views

exporting lists from live to development

Ive created a small equipment calibration system in sp2010 using 2 lists that are linked. Ive made some customisations using sp developer. The team have now requested that the equipment owners are ...
0
votes
1answer
246 views

Showing users like SPFieldUser

Is there an option to show users like the SPFieldUser? I have a custom c# webpart and want show usernames. Every username i want to link to a userprofile. I also want the online status of a user.
0
votes
3answers
1k views

How to to add a Content Query WebPart programatically and use a SPSIteDataquery?

This is the current scenario. I have a central site called: XXX. I have many subsites called with the year name: 2012, 2011, 2010, etc. In the central site I have a list called Beneficiaries. In ...
1
vote
2answers
326 views

How do I bind JavaScript call to GetQuerySuggestion to SearchBoxEx control

Resolved below Well the title says most of it but here is the background: On the search results page, when you type in the search box it does some soap calls in JavaScript too "GetQuerySuggestion". ...
0
votes
2answers
421 views

DVWP Display of Multiple Lists Results in “Unable to display this Web Part” Error in Production Environment

I used SharePoint Designer 2007 to create a joined view of two lists and changed the 'ListID' parameters to 'ListName'. The list is grouped and sorted. Update: When the joined subview is in the ...
1
vote
1answer
544 views

Retrieving search scopes from current site collection

I've did some research on Internet and found some code examples how to retrieve search scopes, but when I try to execute it fails, what do I do wrong? Here is the code: SPServiceContext ...
2
votes
3answers
125 views

How do you do your test development from home?

Assuming you don't have a Windows Server machine available from home what do you do to test your deployments? Do you just compile once you're back in the office and have a test box available or do you ...
2
votes
2answers
427 views

Uploaded document “modified by” incorrect user

I'm working with a program that uploads to site folders, using C# and WSS3, and I am trying to ensure that it works correctly with Sharepoint permissions. In my test program for the Frontpage RPC ...
1
vote
1answer
2k views

c# iterating SPWeb.Navigation.GlobalNodes

When I try to iterate through the GlobalNodes collection using c# it is always empty unless I the site and manipulate the navigation settings manually. Can anyone tell me why this is and/or give an ...
1
vote
1answer
300 views

How to grab InfoPath form's FormState contents from the document library?

Is there a way to grab the contents of an InfoPath's FormState object? I have access to the SPListItem in the document library it resides in, the xml of the item, the document library it lives in, but ...
1
vote
1answer
768 views

Getting Web Template Not Found error while importing

I am importing a exported site with several sub-sites to a new Site Collection of its Own but getting following error Start Time: 8/9/2012 9:32:31 AM. Progress: Initializing Import. ...
1
vote
1answer
340 views

Help with Silverlight and SharePoint

As a continuation of my last question, I can get the data correctly now just I am having a problem getting it to display. I want it to be in a DataForm control but I seem to be unable to connect it ...
0
votes
0answers
30 views

Custom delegate is applied even if the feature is deactivated

I have a question regarding a feature. Situation: I have a feature that is farm scoped, with this feature I deploy a delegate control (xml file), this file refers to cs code. So I've added that file ...
0
votes
2answers
2k views

programmatically deploy to site collection level using c#

I would like to use c# to remotely deploy my sharepoint site collections and sites, I can easily write the code to perform most operations. However I can't seem to find a way of deploying the code to ...
1
vote
1answer
699 views

Programmatically creating new word document in Office Web Apps in Sharepoint 2010 Foundation

I am new to sharepoint 2010 and i have Sharepoint 2010 Foundation installed on server. To open word document in browser i had installed Microsoft Office Web Apps on the server and configured it and ...
3
votes
2answers
1k views

Use SPQuery.RowLimit also on large lists with small query results?

I frequently read one should use RowLimit on SPQuerys on a large list, especially with more than 2000 items. Best Practices: Common Coding Issues When Using the SharePoint Object Model: An ...
0
votes
1answer
721 views

how to Find Template Name that has been used while creating a new Site Collection

I have like tens of custom Site definitions, so when I try to create a new site collection I select a template name, let say "ABCD 2020 DEVELOPMENT ISSUE SOLVED" and create a new site based on this ...