sharepoint2010

Changing a pages "Title" changes it's name in the menu list...

I have a menu in Sharepoint. In that menu is a list of about 5 pages. When I go to these "sub" pages, I edit their properties and change their title. However, this also changes the link name in the menu which is undesirable since the client wants titles like "About us | Hey hey hey | etc" for SEO reasons. If anyone could help that'd be a...

SharePoint 2010 Publishing Site - how to enable Publishing WITHOUT going through workflow

I'm working on a 2010 publishing site and I'd like to enable the users to publish a page directly, without going through the workflow. On the Ribbon's "Publish" tab, there is a "Submit" dropdown with "Publish" greyed-out. I'm an administrator on this site, so I can't think what else I could do to enable it. Any thoughts or suggestio...

Sharepoint Server 2010 or Sharepoint Foundation 2010 for development?

Ok first of all what is the difference between these two products? Secondly are the development skills interchangeable between Server 2010 and Foundation 2010? And lastly in terms of job market, when HR department writes "Looking for Sharepoint developer" do they mean developer for Sharepoint Server (MOSS) or Sharepoint Foundation (Ser...

LookupFieldEditor.ascx in SharePoint 2007/2010

I have searched for LookupFieldEditor example but I could not find any sample code or markup using this control. I want to know how should I use it in a web page in my SharePoint site. ...

Implementing a breadcrumb into your SharePoint 2010 website?

Has anybody any sample code or excellent article links showing an implementation of a breadcrumb navigation into a SharePoint 2010 Website? ...

SharePoint 2010 - Creating a supplemental web.config file

I'm currently developing a new feature for SharePoint 2010. Along with the deployment of my feature I would like to add some settings to the <appSettings/> section within my SharePoint applications web.config. I found some information on MSDN regarding adding supplemental .config files during deployment, but I have not been able to get...

SharePoint 2010 - SPItemEventReceiver initialized 12 times

I am working on a SharePoint 2010 integration that has an SPItemEventReceiver for handling ItemAdded and ItemUpdated events for the Document library list. I have added a constructor to handle some initialization for the event receiver. In testing/debugging I have noticed that when my feature is activated (the feature containing this even...

Add user to SharePoint 2010 group using powershell

We need to add several users to several SharePoint Groups. Does anyone have an example of how to add a user to a sharepoint group using power shell. ...

Sharepoint 2010 Reference Resource Suggestion?

Anyone have a suggestion for a decent book / web resource for Sharepoint 2010 technical information? I'm looking for one that provides a technical breakdown of both the design and development aspects of the system (ie. C# library reference + code examples AND user level design tutorials). The resources provided on MSDN are pretty poorly ...

HELP! Site Column Page Not Accesible

I accidently created a field type called "Test" instead of Text using the following Powershell command: Get site and web object $site = Get-SPSite -Identity "http://mysite/sites/.." $web = $site.RootWeb Assign fieldXML variable with XML string for site column $fieldXML = ' Poweshell threw the following error: Exception calling "Ad...

Create .NET assembly connector programmatically in SharePoint 2010

Does anybody know how to create a .NET assembly connector programmatically? I mean I want to generate an .NET assembly in runtime using Reflection.Emit and deploy it to SharePoint. I've found this great post: http://www.toddbaginski.com/blog/archive/2009/12/01/how-to-programmatically-create-a-sharepoint-2010-external-content-type.aspx ...

Get the length of a sharepoint list column in a calculated column?

How to get the length of a list column in another column? e.g. I want to get the total number of characters in the column "Name" of the list, so I have created a calculated column called "Name Length" and applied the formula LEN(Name) to this computed column, but this column shows 0 for all the items in the list. Am i using the wrong for...

How to deploy document library custom list forms?

I have created two forms, one for creating a new item in a documnet library and one to display an item from the library. These forms are placed in the forms folder of the document library and i have used the List Form Web part using SharePoint Designer 2010 to create them. Now I want to port them to a production environment; so what woul...

How to build complex UI on Sharepoint?

All, We’re building an intranet on Sharepoint 2010. One of the requirement is to have a custom webpart/sharepoint page as a view to an Oracle EBS and HRMS. This view have little (if at all any) interactions with Sharepoint functionalities. This view is pretty complex in terms of layout, so we will definitely benefit of using asp.net u...

Add SharePoint workflow to a list programmatically

We are using SharePoint Foundation 2010. We have created a workflow that checks the status of a task list. If we associate the workflow with the list in the SharePoint UI it works fine. We were wondering how we could automatically associate it, maybe in the feature receiver code that sets ut the site? ...

How to take user input in SharePoint 2010 wokflow on a custom list ?

Hi, I have a business requirement where i need to create a workflow on a custom list where i may have 20-30 custom fields. My question is that in a sharepoint state machine workflow , how do i incorporate User's feedback / comment he may want to give to a user at any level in the worflow. E.g. When a Person at level A submits the pro...

Creating excel document as attachment on a sharepoint list

Hi, I've got some problems adding a excel document as attachment on a custom list. I've made an eventreceiver which collects data from other lists and puts the data into an excel document. What i've tried to do to correct the problem: tested CreateContentRow(index, item) in a separate console application (works) checked if theres som...

Sharepoint 2010 - how do I modify a taxonomic property?

I want to modify a taxonomic user profile property in Sharepoint 2010. Just as an example, let's say I wanted to modify the Interests property (aka SPS-Interests, or PropertyConstants.Interests). I tried setting the property value with the semicolon-delimited string, like this: var property = profile[PropertyConstants.Interests]; if (pr...

Sharepoint Infopath plus one extra database

I have the following setup: Sharepoint 2010 with SQL Server and Office 2010. This is the situation I have. Non programmers are supposed to create simple infopath forms. Admins then upload those to sharepoint, which will get served to users as simple webpages. When a user submits the form it's fields are supposed to be stored in a sepa...

How to share authentication context between a SharePoint 2010 Site and ASP.NET applications

Is it possible to share the claims based authentication of a logged in Sharepoint 2010 user with a separate Asp.net application? The following article describes how it was done using Sharepoint 2007 and forms authentication through forms auth and sharing machine keys etc however I cannot find any information regarding the external appl...