Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

How to load business data type picker dialog box

  Asked By: Madhu    Date: May 10    Category: Sharepoint    Views: 7195

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 like it does with the business data list web part.



1 Answer Found

Answer #1    Answered By: Anuj Lakhe     Answered On: May 10

How to: Get an LobSystem and an Entity


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);

Didn't find what you were looking for? Find more on How to load business data type picker dialog box Or get search suggestion and latest updates.