G
Guest
Hi all
I am building an InfoPath form. In the form, there is a button which supposing pulls up the global address list using jscript
var objOutlook = new ActiveXObject("Outlook.Application")
var namespaceOutlook = objOutlook.getNameSpace("MAPI")
//Test--displays # of entries in GA
var globalAddressList = namespaceOutlook.AddressLists("Global Address List").AddressEntries;
XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:tblCustAddress/@City").text = globalAddressList.Count()
With the above code, it pulled and displayed the # of entries correctly. However, the real question is... Can I have the GAL pop up, ie using globalAddressList.display() or something like that to show it? Can the GAL pop up just like when I use it in Outlook? Thanks a lot!!!
I am building an InfoPath form. In the form, there is a button which supposing pulls up the global address list using jscript
var objOutlook = new ActiveXObject("Outlook.Application")
var namespaceOutlook = objOutlook.getNameSpace("MAPI")
//Test--displays # of entries in GA
var globalAddressList = namespaceOutlook.AddressLists("Global Address List").AddressEntries;
XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:tblCustAddress/@City").text = globalAddressList.Count()
With the above code, it pulled and displayed the # of entries correctly. However, the real question is... Can I have the GAL pop up, ie using globalAddressList.display() or something like that to show it? Can the GAL pop up just like when I use it in Outlook? Thanks a lot!!!