sharepoint2010

How to get a Sharepoint site Data Context information from a dll, which is called from a WCF Service?

Hello people, I developed a library in VS 2010 that uses classes generated by SPMETAL in order to access information available at a Sharepoint site. This library may get called from two places: A console application (merely for testing purposes, but the problem is here) A webpart inside Sharepoint itself. Now, whenever I call the li...

Data update error with SharePoint 2010 and MS Access 2010

I've encountered a strange error when attempting to update a SharePoint 2010 list that I have linked to via Microsoft Access 2010. Error: Data cannot be inserted because there is no matching record. This occurs in 2 scenarios: I attempt to run any UPDATE query against the list in MS Access I attempt to update a record from the list...

SharePoint 2010: feature receiver code executed from UI, not from PowerShell or stdadm

I have a WSP containing a web scope feature with the following code: using System; using System.Runtime.InteropServices; using System.Security.Permissions; using Microsoft.SharePoint; using Microsoft.SharePoint.Security; namespace Macaw.DualLayout.Samples.Features.DualLayoutSampleEmpty_Web { [Guid("8b558382-5566-43a4-85fa-ca86845b0...

Sharepoint 2010 team site permissions

Hi, I'm probably doing something stupid but I just can't seem to get the permissions working correctly on my collection. I have a site collection with a mixture of team sites and blogs. From the parent if I am a visitor/reader I can see everything apart from the sub team sites. The only way I can get the user to view the team sites i...

InfoPath 2007 to SharePoint 2010

Can you use InfoPath 2007 with SharePoint 2010? ...

FileNet to SharePoint

Hello, I need to migrate content from FileNet to SharePoint 2010, i just wonder if there is a tool to perform this task. ...

Custom permission-based view in SharePoint

In either SharePoint 2007 or 2010, I am looking for a way to do a particular type of custom view. I don't think this is default in the product and would possibly need some scripting. (hopefully I am wrong). Let's say I have 3 columns in the list, 2 with data and 1 with the owner (tied to single signed on account). I want to limit the...

Change URL of Site Pages Library

I have Sharepoint 2010 instance on URL: http://dale/ The default location of Site Pages Library is http://dale/Pages/ I would like to change this to http://dale/Sider/ Is this possible? If yes, then how? Maybe some kind of redirection is possible? ...

With Sharepoint 2010 Excel Services how can I get values from a spreadsheet with version control

I can get the values from a xlsx file and bind them to a gridview within a webpart in sharepoint 2010. But I do want to use version-control for this document library containing spreadsheets. Is there any way for me to select the specific versioned spreadsheet and use it for reading data. For example: abc.xlsx (version 3.0) abc.xlsx (...

Sharepoint 2010 workflow failes with "<nativehr>0x80070057</nativehr><nativestack></nativestack>"

I have created a simple Sharepoint 2010 site workflow that creates and manipulates tasks in a list. All my activities execute properly, but when the workflow is about to get to the end (the red point in the diagram :)) some nasty exception happens. Even with the exception the workflow is marked as complete. I have tried to remove the ...

Definitive Online Resource for Microsoft FAST Search?

My team is experienced in designing, implementing, and administering SharePoint 2007/2010 solutions. However, we are struggling in finding good information on Microsoft FAST search, probably compounded by the fact that FAST was acquired by Microsoft fairly recently. I have spent time on Microsoft's sites and on Google in general, but mo...

SharePoint 2010: Limit search to return a Document Set after matching on its child item

In SharePoint Server 2010, say I set up a Document Set and put some Word documents in it. Each Word document contains a common phrase that is found only in the body of the Word Documents. When searching for this common phrase that exists in each of the Word Documents, is there a way to return only the Document Set in the search results...

SPSiteDataQuery: Filtering Content Types in SharePoint 2010

In SharePoint 2007 executing a SPSiteDataQuery with filter for content types worked as expected. <Where> <Eq> <FieldRef Name='ContentType'/> <Value Type='Text'>SomeContentType</Value> </Eq> </Where> In SharePoint 2010 the same query only returns items from one list. A possible workaround would be to filter on the content ...

Problem with custom action in ribbon and no toolbar type

Hi everybody, I have added a custom action to the ribbon on my SPF server. Location : Ribbon.ListItem.Action.Controls._children Everything work fine until i decide to setup an xlstviewwebpart in my home page and change the toolbar type of the current view to no toolbar. At this time the custom action disapear, if i modify the toolbar t...

SharePoint 2010

Hi guys, We are working on an assignment to create a web application using SharePoint 2010 which is totally new to all of us. My challenge is creating a file upload form. I used SharePoint designer to drag the upload texbox and button controls from the ASP.NET tool box. I don't know what to do next because I need the files to go where ...

SharePoint 2010 Publishing Page live preview... any thoughts?

I would like to collect your ideas on the following: SharePoint 2010 (and 2007) does have a preview button... while you are editing a publishing page you can switch to the "Page" tab and hit the Preview button: Clicking this button does some magic to save your data, and opens a new window where the preview page is displayed. Nice, but ...

SharePoint 2010 - Rename site column title in other language does not reflect in original languge where it has been created

Steps to reproduce Go to Site Actions -> Site Columns Create Site column of any type and give some name like ABC Save the site column Now chnage the display languge of the site to anyother language (French) Go to Site Columns page again open the earlier site column in edit mode Change the Title to any other name e.g. BCD Now ag...

SPContext.Current.Web is not latest

I am creating a list with a deployed list template. with the following code: SPSite site = new SPSite("http://servername"); SPWeb web = site.OpenWeb(); web.Lists.Add(listName, listName, listTemplate); web.Update(); SPList List = Web.Lists[listName]; I am able to access the list with the web object which is used to create it. But, SPC...

Creating web application in SharePoint 2010

I have installed SharePoint 2010 and i am trying to move the first steps in it But i´m not able to create a simple web application I opee the Central Administration, then select "Manage web application" under the Application Management menu The first button in the ribbon is "New" (meaning new web application obviously), but is grey and u...

SharePoint Web Part to View List from Different SharePoint Site

I am working on SharePoint 2010 instance. I want to be able to view list content in the SharePoint site that this list doesn't belong to. My site does not even share the same site collection as the one containing the list. Is this possible without the custom SharePoint solution coding? Thanks. ...