sharepoint2010

passing list item id as workflow parameter without code

Hi, I am using Sharepoint Designer 2010 and in there am trying to build an aspx wiki page with dataviewwebpart which will display a list. In this view I wish to have a button against each list item which would trigger a workflow for that list item. Upon searching I got to gather that I need to pass the list item id as a workflow paramet...

Sharepoint 2010: Deployment is not reflected remotely

I have VS 2010 installed on the same VM machine as my sharepoint 2010 server that I remote into. When I create a simple webpart and click "run", it appears to compile and deploy the webpart with no problems, and opens up http://[sharepointserver]/SitePages/Home.aspx. In the demos I have seen, I expected to see my webpart page. So, I ...

How do I get an anonymous user object from SharePoint 2010

I have a site setup using Claims Based (Forms) authentication with Anonymous access enabled. When a user logs into the site they may exist in the Forms Database, but not in the SharePoint Site collection. In this case SPContext.Current.Web.SPUser returns NULL - even though they are logged in. Is there another object similar to SPUser t...

Sharepoint 2010: Sign-out even after browser closes doesn't sign the user out

When I sign out of Sharepoint 2010, I close my browser. When I attempt to go back to sign-in, I see that I am already signed in. All of my browser instances are closed. This is using Windows Authentication, but I usually have to sign-in when logging in for the first time to my machine or deploying a webpart. ...

Are there any out of the box Sharepoint 2010 webparts that offer paging and rollup functionality?

I'm currently working on a project with a very tight budget, and one of the page layouts requires a standard rollup of news items from a list. I've done some googling around Content Query Web Part and the new XML List View Web Part, but neither seem to have any pagination options of any kind. Does anyone have any ideas, recommendations ...

Share Point Foundation 2010 - Failed to Start Workflow

I am using SharePoint Foundation (Sharepoint 2010) to develop a workflow in Visual Studio with an ASP.NET Workflow Initiation Form. I use this form to set some properties on the share point list item on which the workflow instance is being started. Sometimes I get an Error message in the brwoser window, something like: Error Failed%...

Creating a Wiki site in SharePoint 2010

I have a SharePoint 2010 site set up and would like to add a Wiki site to it. Normally, to add a subsite to a parent site you would click "Site Actions" -> "New Site" and choose the site type (e.g. Team Site) and it would work fine. In the case of adding a Wiki site, I choose "Enterprise Wiki", and get "Error An Unexpected Error has occu...

SharePoint Resource Data

In SharePoint 2010 is there any list specific to storing resource string? What are the other alternatives available to store resource strings in SharePoint? Thanks. ...

subtract dates in access 2010 web queries

I need to only display records where datediff("d",date1,date2)>10 datediff is not "web compatible". What would be a workaround? ...

how to enable anonymouse login in sharepoint server 2010

how to enable anonymouse login in sharepoint server 2010 ...

Sharepoint 2010: people search is not working

I followed the directions in this *link and the while the "all sites" search is working, the "people" search is not working. Do I need to configure a content source (nothing seems to make sense: sharepoint sites, web sites, file shares, exchange public folders, line of business data, custom repository)? Under the search central admin > s...

Creating a Sharepoint Workflow task in a specific task list?

Hi, I'm developing a sequential Sharepoint Foundation (Share point 2010) workflow in Visual Studio. I can create tasks no problem using a CreateTask activity, but I can't work out how to create the task on a specific task list (i.e. a task list other than the one associated with the workflow). How can I specify the task list on which ...

Getting a list of site users in Sharepoint 2010

I'm developing an application on top of Sharepoint Foundation 2010. I'm wondering if it's possible to get all defined users of a certain Sharepoint site? By this I mean getting their IDs (or GUIDs, however they're represented) as well as their human friendly names. So I need any special rights to do this? ...

Ensuring application integrity on Sharepoint Foundation 2010

I would like to develop a custom application (multiple screens, complex processes) on top of Sharepoint Foundation 2010. I decided to write visual web parts for simple logic and Silverlight web parts for complex application logic. First of all: Is this decision ok? My application will use it's own data in a separate DB. The only connect...

SharePoint 2010 error not found in logs, how to configure logging?

We have a SharePoint 2010 feature that works fine on my development machine, but won't activate on the staging system. It's SiteCollection scoped, the containing solution was successfully deployed on one WebApplication. When we try to activate the feature, we get an error message with a Correlation ID. But we can't find this ID or the n...

Unit Test for creating a sharepoint site fails

I have some code that creates a sharepoint site. When the code runs as part of the solution it works. However, when I run it as a unit test I get the following error: The test adapter 'WebHostAdapter' threw an exception while running test 'CreateSiteTest'. The web site could not be configured correctly; getting ASP.NET process informat...

SharePoint 2010 CamlQuery with Javascript

I'm looking for a way to execute a caml query over the whole site collection using a the javascript client side object model. Right now I can only get values from single lists.. Is this possible at all? ...

Crawling unlinked content in SharePoint 2010/2007

I have a pages library full of published pages that do not have a link anywhere in my SharePoint site. After a full crawl of my site collection only the default page (there is no navigation menu on the default page) of the web in question is indexed. I know that if I make a page that links all of the pages this will work, but the probl...

Migrating SharePoint 2007 to 2010

Is a sharepoint 2007 webpart likely to work on 2010 without any modification? If not, what are the main areas that would require modification? ...

SPWorkflowTask.AlterTask throws "Specified method is not supported"

Hi, I'm trying to call AlterTask on a newly created Sharepoint task to add extended properties to my task, and a NotSupportedException is thrown. What's going on? ...