Community
Showing results for 
Search instead for 
Do you mean 
Reply

The Contact Web Context Browser

Copper Contributor
Posts: 61
Country: USA

The Contact Web Context Browser

As you may have already noted, I have posted the files for the Contact Web Context Browser under the download area (http://actdevnet.communityserver.com/files/folders/sample_addons/entry23.aspx)

For those that attended Insights, this is the control that Frank demonstrated during Joe's keynote where you can have a TAB in the contact detail form which goes to a URL and displays the content inside the TAB.  the "magic" is that the URL is constructed by including field values from the contact record (Thus, hopefully, making it generic and easily re-usable for many purposes)

For example, suppose the URL to your favorite mapping web site was: http://maps.myfavoritemapsite.com (example only)
By experimenting with different searches on the site, you may discover that the address fields can be passed on in the URL such as:
http://maps.myfavoritemapsite.com/maps?ie=UTF8&hl=en&q={Cont act.Address 1}+{Contact.City},+{Contact.State}

One of the things that the control supports is to have URL templates in a configuration file (so it is easy for you to set your favorite URL pattern).  People ask me what is in my config file, so I thought I would share this with the community.  the config file is Act.Devnet.ContactWebContextBrowser.xml and should be located in the tools directory under ACT! (next to the DLL).

I am interested in your thoughts on the control / configurability / usefulness / enhancements etc...

My XML file contains:

<?xml version="1.0" encoding="utf-8"?>

<dictionary>

<
item>

<key>

<
string>GoogleMaps</string>

</key>

<
value>

<string>http://maps.google.com/maps?ie=UTF8&amp;hl=en&amp;q={Contact.Address 1}+{Contact.City},+{Contact.State}</string>

</
value>

</item>

<
item>

<key>

<
string>GoogleSearch</string>

</key>

<
value>

<string>http://www.google.com/search?hl=en&amp;q={Contact.Contact}</string>

</
value>

</item>

<
item>

<key>

<
string>Zillow</string>

</key>

<
value>

<string>http://www.zillow.com/search/Search.htm?addrstrthood={Contact.Address 1}&amp;citystatezip={Contact.City},+{Contact.State}</string>

</
value>

</item>

<
item>

<key>

<
string>ContactWebSite</string>

</key>

<
value>

<string>{Contact.Web Site}</string>

</
value>

</item>

<
item>

<key>

<
string>LinkedIn</string>

</key>

<
value>

<string>http://www.linkedin.com/search?search=&amp;keywords={Contact.Contact}&amp;sortCriteria=3&amp;rd=out</string>

</
value>

</item>

<
item>

<key>

<
string>Custom</string>

</key>

<
value>

<string>http://www.act.com</string>

</
value> </item>

</dictionary>