Blog Home  Home RSS 2.0 Atom 1.0 CDF  
CLYDE BARRETTO's BLOG - .NET etc. - Business Data Catalog (BDC)
Visual Studio/.NET/Smart Client/SharePoint
 
 Thursday, October 29, 2009

When creating\editing a SharePoint BDC metadata xml file using, Visual Studio you should set the schemaLocation value to C:\Program Files\Microsoft Office Servers\12.0\Bin\bdcmetadata.xsd. It can be represented in the LobSystem tag as shown below. If you open the XML file generated by certain tools like simego in Visual Studio, you will get warnings such as schema contains errors or file not found, modify the XML file as shown below to get intelliSense.

<LobSystem xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance

 xsi:schemaLocation ="BusinessDataCatalog file:///C:/Program%20Files/Microsoft%20Office%20Servers/12.0/Bin/bdcmetadata.xsd"

Warnings shown in Visual Studio if value is not specified properly: The schema referenced from this location in your document contains errors.

10/29/2009 2:57:11 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]   MOSS 2007 | SharePoint | Business Data Catalog (BDC)  | 
Copyright © 2012 Clyde Barretto. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: