sharepoint2010

sandboxed web parts inside SharePoint 2010

Is it possible to develop a web-part in ASP.NET (framework > 2.0), to have a sandbox architecture, and deploy those web parts inside Share Point 2010 and/or MOSS 2007 we donot want to use any SharePoint dll reference with web parts we develop. we refer to the url, section at http://msdn.microsoft.com/en-us/library/ee539417.aspx (secti...

Sharepoint 2010 - "Tags and Notes" not active

I have installed and configured SharePoint 2010 and am now testing using it. I can't seem to add a tag to anything. I can choose a specific item (such as a task), but the "Tags and Notes" button is disabled. When I hover over the button, it says I may need permissions in order to tag an item, but I'm the site admin, so I doubt that is th...

SharePoint ContentByQueryWebPart

What I want: A custom web part that queries all sites in site collection for a particular content type. Modify that result set, and use custom XSLT file in _layouts to render. Is there a way to - tell the class what site to start the query on (current or different site collection) - Specify custom xslt file to use in _layouts folder -...

Global content via Sharepoint Page Layouts or how to have default content?

Hello there, I have two page layouts: Homepage + Regular page. They both work together with a single masterpage. On both page layouts I show some kind of global link list: <a href=#">Link 1</a> <a href=#">Link 2</a> Is there some way to reference the fields on the homepage from all pages using the "regular" page layout? I would lik...

ListViewWebPart problem with custom Event list template

I have copied C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\EventsList\Events\schema.xml into a custom list template feature. I have another feature that creates the list instance: <ListInstance FeatureId="58c1f9c9-eadb-41dd-a358-e04b2f2e30c0" TemplateType="100322" Title="$Resource...

How can resolve Error: "Could not load type 'Microsoft.SharePoint.WebControls.SPGridView" SharePoint 2010 ?

Following error comes when creating a WebPart In sharePoint 2010 Server. Web Part Error: Unhandled exception was thrown by the user code wrapper's Execute method in the partial trust app domain: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.TypeLoadException: Could not l...

Content organizer auto create folder has wrong time in sharepoint 2010

Hi, I have a problem, I am using the content organizer feature to redirect document on upload and the auto create folder feature of it, the property used is a date set by the user when the document gets uploaded. My problem is that when the folder gets created it writes the time set by the user minus two hours, I see that it uses GMT ti...

Replacing the Global Navigation Menu in SharePoint 2010

All, I want a menu in my SharePoint site much like CBS has one. Where you can hover over it and it pops up a DIV across a specifc size of the screen. Then it will show sub menus in there. How is this done? ...

How to flush object cache in sharepoint; programmatically

In sharepoint we can clear object cache from Site Collection Administration - Site collection object cache Is there a way to do the same programmatically ? ...

Sharepoint 2010 search won't index custom fields

I am trying to create a managed metadata field, but it isn't showing up in my crawled columns. It is a custom field. I am not sure what is wrong, but when I search, my only result is the view all items page that relates to the list. It doesn't seem to search the list items themselves. I don't know if that is relevant or not. I added t...

SharePoint 2010 - Client Object Model -- Approve File

Does anybody know what is replacement for SPFile.Approve() method in Client Object Model ? Class Microsoft.SharePoint.Client.File does not have this method. ...

Programatically creating a Site Workflow in SharePoint 2010?

I'm trying to create a new Site Workflow, but not through SP Designer or Visual Studio. Instead, I would need to create it entirely through code (The logic is customizable and dynamic - Initiation Forms or Conditionals won't help much). Do I have to build the .xoml and .rules files by hand? Or is there an API for designing workflows? ...

How to access current item from a sharepoint list in Visual Studio 2010

Hello, When using sharepoint designer you can quite easily use current item and perform different actions with it when using workflows etc. However, the options available are limited. I am wondering how to access current item in a list through visual studio 2010 and use and assign values from its fields to variables or items in another ...

SharePoint 2010 Unauthorized exception

Hi, I am trying to get search categories from the code (Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Schema.AllCategories). However it throws me UnAuthorized exception( ThrowIfNotSearchAdmin) error. Has anybody faced and resolved this? Where to configure search administrator in SharePoint 2010? Thanks ...

Remove Home Menu Item (The Root Menu) in SharePoint 2010

In SharePoint 2010, how do you remove the Home Menu in the menu system. I want the level below the Home Menu to be displayed. Here is my configuration in my master page. I do have Publishing turned on (I tried it with out and no difference) <SharePoint:AspMenu ID="TopNavigationMenuV4" ...

SharePoint web part not displaying for site readers

Hello - I've built a custom SharePoint 2010 web part and deployed it to the home page of a publishing site. It's a very simple web part that just displays items from a SP list in a drop down list. The web part works fine if I'm logged in as a site owner or a member but not if I'm just a reader. The web part doesn't render at all to read...

Single signon betwen Asp .Net and Sharepoint 2010 Portal

Hi, I need to implement a SSO between a Asp.Net application and a SharePoint 2010 site. The ASP.NET Application has forms authentication and the SharePoint has Claims based forms authentication. How do I pass a ASP.NET forms credentials to a SharePoint 2010 website which uses Claims based authentication. Is this possible? Any tips and ...

SharePoint 2010 Search not working.

I have installed and configured SharePoint 2010 to run on the same box as the SQL Server its running from in Windows Server 2008 R2. Everything is working fine except the search. I have uploaded several documents and tagged several items (documents, tasks, announcements etc), however whenever I search the site using the defaul search, i ...

Sharepoint 2010: Full text plus faceted search over an External Content List using Search Services (or possibly FAST)

I have an External List over a products table in our database. I want to be able to build a search form over it via a full text search; in addition to being able to filter down on properties on my initial search. For example, say I'm looking for DVDs under 10.00 in product DB. I want to be able to have a search box where I enter "DVD OR...

Can you build Sharepoint 2010 webparts with VS 2010 Express?

Can you? I'm looking to build the Sharepoint Visual Web Parts. I downloaded C# express and Web Developer Express but neither have the templates that all of the walkthroughs start from. Is there any way I can get the template or do I HAVE to get the professional version. ...