When you take a SharePoint 2010 list offline (e.g. into SharePoint Workspace or Outlook), BCS entities are created in your local drive. These are often supported by ClickOnce Office Solutions deployed via Visual Studio Tools for Office 4.0 (VSTO). For reference, the following locations are used for BCS data and ClickOnce installations:
BCS Client Cache Data files are located in a hidden folder at:
%USERPROFILE%\AppData\Local\Microsoft\BCS
Supporting ClickOnce Applications are located at:
%USERPROFILE%\AppData\Local\Apps
DDK
The Musings and Findings of Software Consultant David Klein (Sydney, Australia)
Showing posts with label BCS Solutions. Show all posts
Showing posts with label BCS Solutions. Show all posts
Friday, 22 July 2011
Thursday, 14 July 2011
SharePoint 2010 Business Connectivity Services (BCS) - Exposing External Lists through Outlook and the InfoPath External Data Part - Fix for "Catastrophic Failure"
Business Connectivity Services (BCS) along with BCS solutions allow you to expose your line of business data (e.g. SAP via Duet Enterprise) through Office client applications such as Outlook 2010.
There are several walkthoughs of generating these solutions available online. Some examples of these are:
There are several walkthoughs of generating these solutions available online. Some examples of these are:
- "Creating Intermediate Declarative Outlook Solutions Using Business Connectivity Services" (http://msdn.microsoft.com/en-us/library/ee819909.aspx)
- "How To: Create an Outlook Solution Using Duet Enterprise Outlook Application Designer"
- http://msdn.microsoft.com/en-us/library/ff963717.aspx (Though this is specific to the Duet Enterprise Deployment mechanisms, many of the same steps apply).
I recently had issues with deployment of a Business Connectivity Services (BCS) solution in conjunction with Duet Enterprise 1.0. When my Duet Enterprise solution was deployed , I was being greeted with an exception as per the screenshot below, with a "Catastrophic failure" error message in place of where my custom task pane should show.
The main reason this exception was occuring was because my layout file in my solution (the xsd and schema explanation for BCS Solution layout files can be found here: http://msdn.microsoft.com/en-us/library/ff394500.aspx) had a "Width" custom property.
Outlook couldn't handle this as a parameter to the web part - so it crashed out in a "Catastrophic" manner.
Outlook couldn't handle this as a parameter to the web part - so it crashed out in a "Catastrophic" manner.
Also note that for your task pane to have any datasource at all whatsoever, you still need to have a "DataSourceName" property set on your OBA part. The description on MSDN here (http://msdn.microsoft.com/en-us/library/ff394500.aspx) is somewhat misleading as it indicates that you only need a datasource for your External Data Part if it relies on data from one of the other parts in your layout. If you remove the datasource property, the attributes weren't populated - so the statement on MSDN isn't correct.
Subscribe to:
Posts (Atom)