Showing results for 
Search instead for 
Do you mean 


Bronze Super Contributor
Posts: 1,284
Country: USA


Who has worked the most with APFW add-ons? What was your results if you try to use the native dialogs?


I am using an ASP button to call the my javascript

<asp:Button ID="btnOpenEntityPicker" runat="server" Text=" Open Picker" OnClientClick="openContactPicker()" />


which in turn calls the EntityPickerControls.js funtion 'openSelector'.


function openContactPicker() {
var xml = getXml("GetCustomTableContacts", CurrentEntityID);
var retval = openSelector(CurrentSubEntityID, 'false')

All is good, APFW brings forward the "Select Contacts" dialog.

The dialog return the string of the dialogue results like "OK" or "Cancel" in the retval


Here is my question....


After the dialog returns "OK how do I get the array of the selected ContactIDs 


It seems reusing the native dialog will be a better experience for the end user all around. 


-- JIm Durkin

+1 973 625 1119