sharepoint2010

Create SharePoint 2010 ribbon button programmatically w/o feature XML

I have to create a SharePoint 2010 ribbon element (tabs, buttons, groups, etc.). Is there a way to create such elements via the SharePoint API without using custom actions? Edit: I've just found the possibilty to add elements like this (link): SPRibbon r = SPRibbon.GetCurrent(Page); r.RegisterDataExtension(/* XmlNode containing ribbo...

import user profiles in MOSS 2007 server into my SharePoint 2010

Hi, I want to import user profiles in MOSS 2007 server into my SharePoint 2010 server. Can anyone please suggest how can i go about achieving the same. Can we import user profiles using Business Data Connection in Configure Synchronization Connection in User Profile Service Application in SharePoint 2010. Why i am doing this: I want...

How can I effectively group a whole bunch of Sharepoint lists?

Hello, I'm still learning Sharepoint and all of its various concepts, so apologies in advance for my ignorance. Here's what's going on - my company is moving a whole bunch of forms from another application into Sharepoint as InfoPath forms. Each InfoPath form is a Sharepoint list. So, we've got something like 300 different lists re...

Microsoft Search Server Express 2010 and BDC

I am evaluating Microsoft Search Server 2010 Express for use in a .NET project. Based on this diagram http://www.microsoft.com/enterprisesearch/searchserverexpress/en/us/compare.aspx, I get the impression that if you have Search Server by itself, you get a smaller set of features than if you have Search Server and SharePoint 2010 install...

Custom XSL stylesheet rendering for a XSLTListViewWebPart in SharePoint 2010

Hi, How can I apply the custom XSL rendering for the XSLTListView web part in SharePoint 2010? So, for example, I have a list of "Employees". Here is the list of columns I have for this Employee list - Full name, Job Title, Team, Contribution, Project. For this list I have created a new "List View" which has a grouping by Job Title. ...

Visual WebPart vs. WebControl SharePoint 2010

I want to make a drop down control, an HTML select/dropdown box with two specific values. I want to package it so that I can deploy it to any SharePoint 2010 server I want, for its generic. At this point, I am confused if this should be a Visual WebPart, or a Web Control (does this exist in SharePoint 2010, Web Controls?). I would like t...

Problem with custom MembershipProvider in SharePoint 2010

I'm having a problem getting a custom membership provider to work in SharePoint. The login page is displayed, but when I enter any credentials - right or wrong - I get the following error: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) (C:\Program Files\Common Files\Microsoft Shared\Web Server E...

How to get the current web using client object model?

i tried to get the current web using client object model. i am not able to get that..please guide me to find it I tried with the below code its not working.. ClientContext context = new ClientContext(ApplicationContext.Current.Url); ...

SharePoint 2010: How to display an external list as a calendar?

In SharePoint 2010 BCS, I have created an external content type to retrieve a list of appointments from our LoB application. This works, and I can see the list of appointments in SharePoint. The problem is, I can only see the appointments as a list. I want to display them in a calendar, but that doesn't seem to be an option. I've set t...

Cannot see "Custom" web part folder SharePoint 2010

I am new on SP 2010 and VS 2010. After installation of SP, I am able to surf to localhost, and see a page called "Home". I made a test Visual Web Part, and it deployed fine. I am able to edit the home page, and see and add the web part from the Custom folder. I then made a new site, called Foo Site. When I edit its home page, I do not s...

Building UI of complex relational data with Sharepoint 2010?

We've got some relational data in SQL Server and would like to build a UI in Sharepoint 2010 to create and modify records. For simple tabular data it's straightforward, but what about master-detail structures where a single logical object is com posited from a number of tables? A large topic, but is there a basic course of action that i...

Newbie C# writing text from a SharePoint 2010 Web Part for troubleshooting purposes

I make a simple Visual web part and deployed it, and put it on a page. I have a button included in the web part, I want to output some text, like Hello World, output somewhere in SharePoint, so I can do some code tracing when I need to. I assume there is a method for the button, that is called when I click it? It is there that I want to ...

Issues using external authentication with SharePoint 2010

We are using the “CAS” Single Sign-On system that was developed by Jasig. And trying to authenticate users against it for a SharePoint 2010 site. The main issue is that we are validating the user’s username and password on an external site that sends a “ticket” back to our SP2010 site via query string. Our app then revalidates this ti...

Sharepoint 2010 development on Windows XP 32-bit?

Possible or not? I know Sharepoint 2010 Server won't even run on a client side of Vista/Windows 7 64-bit, forget about Windows XP 32-bit. But if I can install and use Visual Studio 2010 on Windows XP just fine, shouldn't Sharepoint development tools also work on Windows XP 32-bit? The thing is I have a very old laptop (from 2005) that...

how to get the recent user name who can edit/add new list/document libraries using client object model.

how to get the recent user name who can edit/add new list/document libraries using client object model. how to find the custom list/Libraries author name like last modified or last edited by. ...

How to debug Infopath 2010 web form?

Well, in visual studio 2008 we were able to create infopath 2007 web form project and after that attach to iis process to debug infopath web form. In visual studio 2010 there is not infopath project and we can use only vsto and cant attach to iis process. So, how to debug Infopath 2010 web form? - is it possible? ...

Learning SharePoint Server 2010 before C#?

I've narrowed down my learning resources to the following: SharePoint 2010 as a Development Platform (APress) Professional SharePoint 2010 Development (WROX) AppDev Microsoft SharePoint 2010 for Developers Vol 1 Would you recommend getting one of those books or video training before knowing C# in depth? I'd like to get up to speed wi...

Sharepoint 2010 - A duplicated Managed Account after Domain change causes error - "Item has already been added. Key in dictionary

We have encountered a problem with our Sharepoint 2010 installation, after IT decided to move everything onto a new network domain. Everything was fine, although we had to replace all the farm accounts from the old domain with the new domain including the Managed Accounts inside the Central Admin site. However, this week the old domain ...

How does FullTextSearchQuery work with SharePoint 2010 and FAST Search Server?

I just installed a testing environment with SharePoint 2010 and FAST Search Server as the default search service application. Started with some test content and executed a few searches using the std. SharePoint GUI - everything fine so far. Now I want to execute a more complicated query using the Microsoft.Office.Server.Search.Query.Ful...

After SharePoint 2007 upgrade to SharePoint 2010, issue with custom site(s) master pages

With our 2007 site(s) we had a custom module (we developed) to swap out the application.master with our own master page 'CustomApp.Master' which resembled the site default.master. This worked great. After the upgrade, our site's main pages looked fine however when navigating to the admin type pages (settings/viewlists etc.) pages the m...