Last active
October 30, 2020 13:53
-
-
Save CubeYogi/566979bc428e313a8dd94b03a2078f5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//get the Url from url field | |
url_link = input.Url; | |
//remove the html tags and get the url | |
final_url = url_link.getSuffix("_blank\">"); | |
final_url = final_url.getPrefix("</a>"); | |
//add the Url into image field | |
input.photo = "<img src="\""+final_url+"\"/">"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you know a way to do this in ZohoCRM Leads Module for the Lead Image?