sharepoint2010

How can I create a Multilingual Global Navigation(menu) for a Sharepoint 2010 WebSite?

A very good sulution for Multilingual UI are Variations, but how can you apply this feature to the Global Navigation(Menu)? After creating the Global Navigation for a WebSite it will stay like that forever, no matter if the current Location is in one of the Sites's Variations. So I'm looking for some solution to change the Language for ...

How to find newly added item in the share point site??

How to find the recently added item in the share point page If the any user added the items in the custom list, library, list,Announcement, Picture library,etc......... i need to show all item that added last 2 days. Is that any object model available to find all item in the share point site???Instead of searching every list. ...

SP 2010 Attach File Client Object Model

Hello - I have created some code to create a list item programmatically. Now I would like to attach a file to the list. I'm getting a 401 error: unauthorized. I have set the credentials which works for creating the item but not attaching the file. Any ideas? Dim credentials As New System.Net.NetworkCredential(MyUser, MyPassword, My...

Unable to add a ribbon button to a custom list.

Edit: Updated with input from Omlin I am attempting to add a custom button to the ribbon. I want the button associated with a custom list named “Products”. I am able to get the button to show for a built-in list, such as a Shared Documents, but not the custom products list. Below are examples of my code working with an existing lis...

Need to change Actions Menu in SharePoint 2010 Integrated with SSRS 2008 R2

Does anyone know of a way to add or remove items from the "Actions" menu within a report on SharePoint 2010 Integrated with SSRS 2008 R2? I would like to remove "Open with Report Builder" and add "Subscribe" to the Actions menu. I'm working with my SharePoint Server Admin who is at a loss also. I have found how to remove Report Builder ...

Cannot enable feature with feature receiver via PowerShell

Hi guys, I've got a problem where I can enable a feature the UI and everything works as expected through site settings, but if I try and enable the feature via powershell (which we are doing as part of a scripted deployment), I get the following: Enable-SPFeature : Failed to create receiver object from assembly "xxxxx, Version=1...

Row-based SharePoint Gridview

Hello, I want to stylize a SPGridview as row-based. I can do it in ASP .Net as follows (this is sample code and doesn't have a meaning. I wrote here because of describing the problem clearly on programmer side): <asp:GridView runat="server" ID="myGrid" AutoGenerateColumns="false"> <Columns> <asp:TemplateField> <ItemTemplate> <table> <t...

How can I build a SharePoint 2010 package using command line?

I have a Visual Studio 2010 SharePoint project. If I choose 'Package' from the project menu, a .wsp file is generated. How can I invoke the same build from command line (i.e. what /target is required for MSBuild)? ...

Adding web config settings programmatically(sharepoint)

Hey... I want to add web config settings from code. I wrote in c# and here is my code: SPWebConfigModification bindingsModification = new SPWebConfigModification(); bindingsModification.Path = "configuration/system.serviceModel"; bindingsModification.Name = "bindings"; ...

Custom master page for dialogs

I am using a custom master page for branding, but the way I have designed it makes popup dialogs (like new item for lists) look terrible. I know I could probably change the design to make it work, but that would break the actual page (which for the moment looks perfect just the way it is). My question therefore is this: Is it possible t...

Sharepoint Designer for SP2010

I am bit confused as on this.. Which version of Share Point designer (32 or 64bit) do I need to use to work on SP 2010. When I try to download the 64 bit , I see a message as "32 bit is recomended for most users ..". I have installed SP 2010 on win 2008 R2 in virtual box. Is it mandatory for me to install Vs 2010 on same machine to...

Sharepoint 2010 Metadata Security

I was checking the TitusLabs product for sharepoint which basically lets you to give permissions to sharepoing documents using metadata. For example: you can have document ,you can give metadata to this document: Secret. Now only people belongs to the group Secret can access to this document. How do they do this? How do you hook into sha...

Saving an XSLT template in a Commerce Server 2009 Web Part

When editing a Commerce Server Product detail web part we are having a great deal of difficulty making changes to the XSLT template. These are not complex changes, just small minor changes. There is no problem with the template as I have tried it out on the w3schools XSLT editor and it works fine. I paste the template text in the dialog...

Making your own cusctom workflow developed in visual studio 2010 available in sharepoint designer 2010

Well my requirement is : Need to develop a custom workflow,the workflow should take properties like site url, list names etc., From the client. I am able to develop the workflow, but i need to make it available in designer. I tried the method mentioned here: http://www.chaholl.com/archive/2010/03/13/make-a-custom-activity-available-to...

Creating a new site sharepoint 2010 under parent site with my custom template Programatically using visual studio 2010

Hi, I have a parent website under which i want to create subsites on the fly using visual studio 2010. The subsites which i want to create have a common stuructre(in temrs of lists & custom). So i saved the template in sharepoint 2010,it becomes wsp and goes into soution gallery. Now how do i use this template say mytemplate.wsp,to c...

Changing URL in Sharepoint 2010

I want to change my sharepoint main page URL to a new one. Now this is something like http://servername/SitePages/Home.aspx but I want to change the server name to a better name like : http://OurSharePoint.com how can I do this? ...

Create my site programmatically in Sharepoint 2010

Hello Everybody, Is it possible to create my site programmatically in SharePoint 2010? I have added 5 users to AD (Active Directory). These 5 users are also added in an excel file. SharePoint 2010 sample site contains a web page where it takes an input as above excel file and on click of a button I want to create 5 my sites of those u...

Creating a "Mobile Adapter" for Visual Web parts in Sharepoint 2010

Hi, I've followed this guide on how to create mobile web parts in Sharepoint 2010, but no content is listed when I access the page with a mobile device, or use the "/m"-url. Are there any other sources on how to create a mobile adapter for visual web parts for Sharepoint 2010? My adapter-class looks like this: using System; using Syst...

SharePoint 2010 - EntityEditorWithPicker

Hi, Currently I am working on a SharePoint upgrade to 2010 version. We have a control which inherits from EntityEditorWithPicker. In 2007 version everything works works fine. In 2010 version the search box does not get displayed, but the picker buttons are getting displayed. I was trying everything possible without a luck. Please help....

sharepoint connection error

Hi All, I have created a web application and site collection on a sharepoint server 2010 which is installed on remote server (Windows Server 2008). Everything is working, except that, when I try to create workflow for this site at Visual Studio 2010, it throws the following exception: ...