BCS Meta Man – Getting Started


In this tutorial we will go through how to connect to your External System using BCS Meta Man, we won’t be doing any configuration of our model, we will just be looking at the quickest way to get your External Systems data into SharePoint using a .Net Assembly Connector as easily as possible.


  • SharePoint Server 2010
  • Visual Studio 2010 Professional or higher
  • BCS Meta Man
  • AdventureWorks SQL Database


  1. Open Visual Studio 2010
  2. Add a New Project
  3. Select ‘SharePoint’ > ‘Lightning Tools (2010)’ , now you can select the BCS Meta Man project type.
  4. Give your project a name i.e BCSMetaManDemoCreating the BCS Meta Man SharePoint Project

    [Please click the images for a larger view]

  5. Click ‘OK’
  6. On the next dialog box, enter the name of where you want to deploy your model, and make sure you select ‘Deploy as a farm solution’ , click ‘Finish’Deploy as a Farm Solution
  7. To show the ‘BCS Meta Man Data Source Explorer’ we need to enable it from the Menu item, this new window can be docked so it doesn’t get in your way.BCS Meta Man Data Source Explorer
  8. Click the ‘Add Connection’ button to show the ‘Connection Dialog’
  9. Select the Data Source type, enter your Server name and also select whether to ‘Use Windows Authentication’ or you provide logon credentials, click ‘Connect’Connect to the database
  10. The Data Source Explorer will now be populated with your Server dataSee the tables and views available to use
  11. We will be working with the ‘Product’ table, to add it to the Model , just drag it from the ‘Data Source Explorer’ onto the ‘Diagram’Drag and drop a table onto the design surface
  12. When you drop the table you will be shown the following dialog, we want to choose ‘.Net Assembly’ , click ‘OK’
    (Database can be used if you want to create a model which connects straight to your External System without using a .Net Assembly i.e no code solution)Choose the model type
  13. Accept the default ‘Identifiers’ by clicking ‘Next’Accept the identifiers selected
  14. Accept the default 3 methods to be created, click ‘Generate’Accept the methods

    The default 3 methods are:

    • Finder – Returns all items
    • Specific Finder – Returns a single item by identifier
    • IdEnumerator – Returns just the Identifiers for all of the items
  15. Watch as the code is generated for you, think of the time it is saving!
  16. Press F5 to deploy, this will load up your SharePoint Page once deployed
  17. Add a new Business Data List Web Part to your SharePoint page
  18. Click on the ‘Open the tool pane’ link
  19. Click on the icon to show the available External Content TypesSelect the External Content Type
  20. Select our BCSMetaManDemo.ProductsModel.Product External Content Type, click OKSelect the Product External Content Type
  21. Click ‘OK’ on the tool pane
  22. Your External System data is now displayed in the SharePoint Web PartExternal Data is now shown within SharePoint

Leave a comment