Total View, iComps and Eppraisal Links
Hi everyone,
I've managed to integrate an automatic link to the Zillow page for the property lead I am working on into a calculation field in my Leads App (credit to Scott Costello for the instructions on how to do this!).
I am now looking for a similar way to do this for iComps, Total View Real Estate and Eppraisal as well. I know for a fact that Eppraisal works, as it is being used by another automation company. The only tools I have available are Globiflow and the Podio calculation field.
I think I'm quite close with the following formula:
var url = @All of Address
if(url){ "http://www.totalviewrealestate.com/index.php?address="+url.toString().replace(',','').split(' ').join('%') }
Any help anyone can provide would be MOST appreciated :)
Thanks,
Michelle
-
I got it almost to work with the code...
var a = @MAP.join() //@MAP is your address field with google format.
var b = a.split(',')
var st = b[0].replace(/ /g,"+");
var zip = "&Zip=" + b[2].slice(4)
var state = "&State=" + b[2].slice(1, 3)
var city = "&City=" + b[1].slice(1)
var part1 = "http://www.totalviewrealestate.com/index.php?address="
var lastPart = "/"
var http = part1 + st + city + state + zip + lastPart
httpThe problem is it populates the address as "St" for street and the url needs it written out as "Street." Any idea for how to get it to write the street completely out, let me know.
Please sign in to leave a comment.
Comments
2 comments