sharepoint2010

how to create subsite in sharepoitn 2010 by call webservice in infopath 2010?

how to create subsite in sharepoitn 2010 by call webservice in infopath 2010? ...

sharepoint 2010: sandboxed webpart error

I was just tryng to create a simple webpart in visual studio 2010 (for sharepoint 2010) I created an empty sharepoint project, then added a webpart. I wrote a simple code (pasting it from a book with examples) I Build the project, then deploy it (without errors) Then when i go to the webpage where i want to add my webpart, i get this er...

Images from library not displayed in IE8, but shown in Chrome & Firefox

I have added a image in SiteAssets library. I have referred to that image in my aspx page. While redering page, image is not rendered in IE. While same image is rendered correctly in Chrome / Firefox . Am I missing something here? Thanks for help in advance. ...

Web part lost when page post back

Here is the brief detail of issue. I have Page1 where I have put LinkButton. The LinkButton Has property PostBackUrl pointing to Page2. When user is redirected to page2, I am using Page Load method to access controls from previous page & get the needed value. To make clear, I am using this approach becuase I cant use querystring. Page ...

SharePoint 2010 Basic Workflow Question

Hi, I've just started to look workflows in 2010 which seem pretty good but I can't find seem to find out how do something very simple. Basically I'm creating a lost property list and workflow, essentially anyone can add a new item to the list for an item that they've found. Next anyone can make a claim on an item in the list which sho...

SharePoint Client OM Tutorials?

I'm looking for a good tutorial on how to use the SharePoint 2010 Client Object Model. All I've been able to find on the web is some snippets about getting all the list names. I'm looking for functionality such as: Adding an item to a list Querying a list for a specific field value Deleting a row from a list Any help would be apprec...

adding a button in the edit menu of a webpart in sharepoint 2010

Is there a way to add a link or button in the menu that appears when you click on the top left corner of a web part in sharepoint 2010? ...

sharepoint 2010 item selection event on lists

I have read all the list events (and list item events) of sharepoint 2010, but it seems there isn't a way to get an event when a list item gets just selected (or double-clicked, or something like that) I want a method that lets me open a new page when someone selects an item on the list, to display more information regarding the item Is ...

Ribbon button Custom action that will work across all lists

I want to create a ribbon button that will work with all kinds of lists. I mean, the same custom action should work against lists, document libraries, Announcement lists, etc.. Also. It should work regardless of the content types contained in the list. What should be the custom action definition for this? ...

SharePoint script fails when run as a Visual Studio post-deployment command

I have written a script that inserts some test data into a document library. I intend to use it as a post-deployment step in Visual Studio 2010, so that the library is not empty after a retract & deploy. The relevant portions of the script are: Install.ps1: $scriptDirectory = Split-Path -Path $script:MyInvocation.MyCommand.Path -Paren...

sharepoint 2010 excel services - facing problems editing excel

I have uploaded an excel into a document library and able to view it in the browser. I am not able to edit the excel in the browser. I have a simple calculation on two cells. Even the regular worksheets without any calculations are not editable. Any idea? ...

SharePoint Workflow and starting EXE file

I'd like to create a SharePoint 2010 workflow that calls and EXE file and waits for the file to execute and then perform some actions. I can't seem to find any references to calling and EXE file or any other program from a SharePoint Workflow. Can I accomplish this in Sharepoint Designer? If so, how? Thanks. ...

Excel Services connection error using SharePoint 2010 to query Analysis Services (2008 RT)

I am connecting to an Analysis Services cube from an Excel Services spreadsheet. SharePoint and SQL Server are configured on separate servers. Am using Excel 2010 / SharePoint 2010 / SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64). Refreshing all connections (or clicking an item in the slicer) throws an error: "An error occurred during ...

HOWTO: Allow access as an anonymous user with FBA and SharePoint 2010

I have a new site with a custom forms membership and role provider, and I need to allow anonymous users to visit the site (i.e. to browse around but not log in). This is a new SharePoint 2010 site running under claims authentication (obviously). Problem I have is that despite allowing anonymous access in both central admin and site perm...

ASP.NET Web Form on SharePoint

Heh guys, I would like to create and deploy an ASP.NET web form on SharePoint server which can create document in SharePoint list (or library). Since I'm not experienced in both these technologies so would appreciate if someone guides me to the right tool. Should I use Visual Studio or SharePoint designer ? Also, I was reading an articl...

SharePoint 2010 Blog URLs

I have a blog hosted on SharePoint 2010 with default settings. The URL for my blog posts looks something like http://domainname/Blog/Lists/Posts/Post.aspx?ID=somenumber How can I use meaningful names instead of these default URLs? Can you please point me to some useful links on how to achieve this? ...

ajax control toolkit & sharepoint 2010

I was trying to use ajax control toolkit in sharepoint 2010, but i get some errors. I found that the last release of the toolkit doesn't work with SP2010, so i downloaded the version 30930 found at http://ajaxcontroltoolkit.codeplex.com/releases/view/33804 Then i modified the web.config adding this: <assemblies> .... <add assembly="...

getting ComException while reading the document in SharePoint 2010

...

How to efficiently deploy content types to a Content Type Hub

I have set up a Content Type Hub and tested the syndication is working correctly by creating a test content type and watching it be published to the client site. Then I deployed the content types I am actually interested in publishing to the hub (by way of a feature) along with the site columns they depend on. I get the error Content ...

SharePoint help needed

Hi, I need to write an event listener which will execute my custom C# code while uploading a document in the list. For example, When I upload a pdf document ( which is having some editable text fields ) in a list , my c# code will write some information to the pdf and it will get attached to the list. Can someone guide me to the right...