sharepoint2010

Implementing Security on custom BCS/.net class?

I'm implementing a custom BCS Model to get data from a backend system. As the backend uses it's own user management, I'm accessing it through a service account. All of this works well and allows me to pull data into SharePoint. However because it's channeled through the service account, everyone can access it, which is bad. Can anyone ...

Webpart Deployment is very slow

Hi everone, I play with Sharepoint 2010 und VS 2010 Webparts. The deployment of the webpart from VS to sharepoint takes about 25 sec. But when I start the sharepoint website from ie it takes about 2-3 minutes for the first time after deployment of the new webpart. Is this the normal time ? thanx Stephan ...

How to activate a solution in SharePoint 2010 using client object model?

Here's the situation: I have a customized SharePoint2010 site created. I saved that site as a site template, which has created a solution. I want to be able to activate that solution using SharePoint2010 client object model. Is that possible? If yes, could you show me how to do it? If no, then could you show me how it can be done ...

SharePoint 2010 can't find or use ListData.svc

Can anyone lead me in the direction on how to access/enabled/use the ListData.svc in SharePoint 2010? When we try to access it via our web browser, we get a 404 error. Is there a service we need to enabled, or install a component, please help? ...

SharePoint Governance

I have been search about SharePoint Governance for past few days, the more I search, more confused I am getting about this Topic. Could anyone just explain in brief? What you know about it or are you using/implementing it? ...

best practices on accessing BizTalk 2009 hosted services from SharePoint 2010 UI through WCF (publish, subscribe method)

I have a scenario where we have a bunch of Services hosted in BizTalk we want to be able to access it from SharePoint UI (also may be some ASP .Net Applications hosted inside SharePoint. Can any of other have faced similar scenario's can share with the best practices in terms of performance vs maintainability. Since we have to cater S...

Charting in SharePoint for an ASP.NET WebService (Non BCS)

Can someone point me to a tutorial on how to consume external (non BCS) web services and display data either using the Chart Webpart in SharePoint 2010 or by using the out of the box ASP.NET 4.0 charting libraries? ...

sharepoint 2010 Search error

Hi I have installed sharepoint 2010 Beta 2 on Win 2008 R2. I am gating the following error when I tried to enter the key word in the search box and enter "Internal server error exception: Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 7e060c3a-862b-40fc-ad49-d4d9d10fb3ce " I have installed the Hotfix form "...

Setting field value to url of newly created Document in workflows

Trying to set column in a list to the url pointing to the newly created document (via "Create Item" Action). What should be the column type - string or Hyperlink? Also which column from the Document Library would contain the right url? ...

Has anyone seen their SharePoint 2007 custom css modified in a 2010 environment?

I am loading a logo image from the Style Library using the following css statement: background:url("../Style Library/Images/LogoHeader.jpg") no-repeat scroll 0 0 transparent; When I deploy the same branding solution in a 2010 environment, this becomes: background:url("../_vti_ghost/Images/LogoHeader.jpg") no-repeat scroll 0 0 transpar...

SharePoint 2010 and VS 2010 - which releases work well?

I'm having a hard time finding a combination of sharepoint and vs releases that work well together. So far I have tried: SP 4730 & VS RTM SP 4747 & VS RC SP 4763 (Debug RTM ish) & VS RC All of these had issues in one or both products. I'm now reverting to SP 4747 & VS RTM. Has anyone else found a combo that works well? Specificall...

Online Presence in SharePoint 2010

Has anyone tried with online presence in SharePoint 2010? I used to take help of imnrc javascript function in MOSS 2007 but the same does not seem to work in SharePoint 2010. Thanks, ...

Installing document sets site collection feature not available

I have setup SharePoint 2010 on my local developer machine (Windows 7) so that I can use Visual Studio to make solutions. However, when I go into the "Site collection features", I do not see Document Sets as an option. Is there someplace that I need to go to enable/install this capability? ...

SharePoint 2010 BCS ignores username/password in connection string

Here's my scenario. I've got SharePoint 2010 running on one server, with an SQL Server running on another. Both machines are on the same domain, but the logins involved are local to each machine. SharePoint is running as NT Authority\Network Service, if that makes any difference. I've created a BCS that pulls data from the remove SQL...

Sharepoint 2010 Claims in BDC

I would like my BDC ReadList()-operation to fetch objects based on email from a user claim. I tried using IClaimsPrincipal in a webpart, with no problem, but I can't get it to work in BDC model. Basically I would like to do something like this: ReadList() { 1. Get Claims object 2. Get email from claims object 3. Ask query with that em...

SharePoint 2010 HttpModule problem

I'm trying to write an HttpModule to run on our SharePoint farm - essentially it will check whether the user is authenticated and if they are it will validate some info against another database and potentially redirect the user to sign a variety of usage agreements. Whenever I enable the module in the web.config I'm finding that SharePo...

Sharepoint 2010 Document Library Event Receivers - - - How to capture event when the document is being openned

Hi everyone, There is event handler when item is being added, deleted, checked in or checked out . . . but no handler when the item is being open is there any way I could capture the event when the item is being opened? Please help. Thanks a lot ...

How to check user permissions at SharePoint 2010 using Client Object Model?

The following code always returns false (which is incorrect, as the user has Full Control permission at the site level): Site site; BasePermissions permissionMask; ClientResult<bool> result; permissionMask = new BasePermissions(); permissionMask.Set(PermissionKind.ManageWeb); result = site.DoesUserHavePermissions(permissionMask); ret...

Creation of site using .wsp template

How to create site on SharePoint 2010 using .wsp template programmatically? or how to use stsadm command in sharepoint 2010 to create site? ...

SharePoint 2010 Search Query

Hi, I had written a custom search query for MOSS 2007 to get data where contenttype is post. However the same query is not returning any results in SharePoint 2010. Any inputs will be appreciated. Please note that SharePoint search box is returning (parameter k in query string and also contenttype:post) appropriate results. Thanks, ...