After the brief release notes last night on the BDC Meta Man blog I thought it would be a good idea to post more details on the functionality we've released for version 1.2.0.10 of BDC Meta Man. As well as fixing a few bugs we've also added some new functionality and unlocked some features for the developer version. The first part we'll go though is the developer version:
1, Add two entities to a design surface
With the previous version of BDC Meta Man if you were using the free Developer version you could only drag and drop one SQL Server table onto the design surface to create an entity. This meant it was not possible to create associations because to do that you would need two entities to create an association between J. Now with BDC Meta Man version 1.2.0.10 you can add up to two entities to a design surface. This not only allows you to create more complex and larger application definition files but also means you can create associations between the two entities to make use of the Business Data List and Business Data Related List web parts.
For a complete walk through of how to add multiple entities, create an association, and start using the Business Data Web Parts check our knowledge base article here:
Link coming later today!
2 a, The new functionality that I'm going to cover now in part two is all about being able to add filters to entities. Before I can cover that though I wanted to explain a change we have made in how the application definition files are generated.
MethodInstance tags for MOSS BDC application definition files are great as they allow methods to be used for multiple uses. The example I can give you for this of previous versions of BDC Meta Man were methods we automatically generated were being used as Finder and SpecificFinder methods. This was all very good until it came to editing your application definition file or adding filters as we wanted to do. It was possible but having both method types in one method made it a lot more difficult to understand, and the UI for adding Filters many times more complicated. We therefore decided it would be best to no longer generate a single method that behaves as both a Finder and a SpecificFinder method. From BDC Meta Man version 1.2.0.10 the entity methods that are generated for entire tables will contain separate Finder and SpecificFinder methods
2 b, Now that we have the point above sorted we can mention the new functionality we have added! You can now easily add Filters to your method calls with BDC Meta Man. With the simple click of a button and selecting a few values you'll be able to filter the data being bought back and shown in MOSS 2007. Although you can add Filters to any methods, we think it will only be the Finder methods that people will want to be doing this for. We haven't restricted adding filters to any other type of method yet but if for example you do add a filter to a SpecificFinder method it may start to not work correctly. Here's a quick guide how to add a filter to an entity.
We've dragged and dropped the Products table from AdventureWorks2000 onto our design surface
Right click on the entity and chose 'Edit Entity' from the context menu
Click on the 'Methods' tab to display our methods. For previous users of BDC Meta Man you'll notice the second half of this form has been dramatically simplified and improved.
Select a method from the Methods list box
Click the 'New Filter' button and a new form will pop up. This is where you configure the your filter.
Give your filter a nice name, this is the value that will show in the Business Data List drop down as the field you can filter on.
Click Save to create the Filter, then save the entity. Generate your application definition file. Once you have imported it and added the web part you'll now be able to filter the products being returned by the product name!
Again this functionality is available in the free Developer version for the two entities that you can add to the design surface. To download the latest version of BDC Meta Man please visit the following link:
http://www.bdcmetaman.com/pages/download.aspx