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

learn more… | top users | synonyms (3)

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
152 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
263 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
27 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
88 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
187 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
57 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
1k 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
143 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
92 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
424 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
120 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
2k 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
324 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
328 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
292 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
650 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
117 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
869 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
224 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
307 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
392 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
502 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
124 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
397 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
286 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
681 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
324 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
29 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
605 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
634 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 ...
3
votes
2answers
4k views

How do I change the Title column of a list programmatically?

The twist to this question is that I am using a localized site - the site is using the Norwegian Team Site template. Hence, the Title column is actually named "Tittel". Presumably, the following ...
1
vote
0answers
158 views

Changing / overwriting OOTB javascript

I've came across an issue when I was modifying / customizing the mini social tag buttons (a delegate control - class), everything went good and well untill I encountered an issue "onmouseover" event. ...
5
votes
3answers
3k views

What is the best way to determine if CurrentUser is System Account?

Traditionally I use: if (web.CurrentUser.Name == "System Account") Is there a possibility the System Account Name could be something other then "System Account". Is there a more reliable way to ...
1
vote
1answer
1k views

Difference between Client Side API vs Server Side API

I am just going through this SharePoint 15 Training video and they are mentioning these terms again and again but am not sure with them though. MSDN Video talking about Sharepoint APIs I think the ...
0
votes
2answers
4k views

How to add specific SharePoint Group to List permission with c#?

using (SPSite site = (SPSite)properties.Feature.Parent) { using (SPWeb web = site.OpenWeb()) { if (web != null) { web.AllowUnsafeUpdates = true; SPList list = ...
14
votes
2answers
2k views

How to access my “Outgoing E-Mail Settings” from code?

Is it possible for me to pull the values that are in: Central Admin -> System Settings -> Configure outgoing e-mail settings from my code behind using the object model?
0
votes
3answers
374 views

Get SharePoint list title in a specified language

I need to get a SharePoint list title in a specified language and i am trying to use the SPUtility.GetLocalizedString Method: public static string GetLocalizedString( string source, string ...
1
vote
2answers
543 views

Click Event on a HyperLink in a webpart

Trying to add a click event to a hyperlink, but couldn't find any way except people using this code of line with some javascript, HyperLink link = new HyperLink(); ...