in

Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.

using the BDC business data type picker dialog box

Last post 08-07-2008 5:16 PM by boneill. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-06-2008 1:52 PM

    using the BDC business data type picker dialog box

    Hi, can anyone help me figure out how to initiate the business data type picker dialog box?? I want the user to be able to select a business data entity and Im trying to find some code showing how it works with the business data list web part. Thanks!

  • 08-07-2008 5:16 PM In reply to

    Re: using the BDC business data type picker dialog box

    How to: Get an LobSystem and an Entity 

    http://msdn.microsoft.com/en-us/library/ms501019.aspx



    It's not the same dialog picker box, but it gives an example of how to look up instances and entities.

    I ended up putting that data into a drop down box like below:

    //load all BDC entities  
                NamedLobSystemInstanceDictionary sysInstances = ApplicationRegistry.GetLobSystemInstances();  
                foreach (string insName in sysInstances.Keys)  
                {  
                    foreach (string entName in sysInstances[insName].GetEntities().Keys)  
                    {  
                        ddlList.Items.Add("BDC: "+insName + ": " + entName);  
                    }  
                } 

Page 1 of 1 (2 items)
2012 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems