Hello,
I have been trying to implement the solution found at: https://community.dynamics.com/crm/b/hardworkdays/archive/2013/05/07/microsoft-dynamics-crm-2011-lookup-address-by-zip-code, with no success.
Environment:
Windows 8.1, browser Firefox 53.0.2, Dynamic CRM 2016
Steps taken:
- Created script in Web Resources named Addres.Lookup.js; the content of which is the same from the link above. Also, created another new Web Resource using compressed version of jquery.3.2.1.
- Instead of using the composite address, I added a separate field on the Account form for Address 1:Zip/Postal Code.
- Configured OnChange handler for the separate Zip Code filed added; see attached.
- I get an error message

Thanks to Nithya Gopinath, who set me on the right track to troubleshoot the issue. Using debug mode, I verified that the script worked until the "getJSON" statement. The picture below depicts the yellow highlighted code that was being executed with the script failed. I put a watch on the variable "Address" and it was never defined.

Thank you in advanced for your input.
All the best,
Lannie
*This post is locked for comments
I have the same question (0)