Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save CubeYogi/566979bc428e313a8dd94b03a2078f5c to your computer and use it in GitHub Desktop.
Save CubeYogi/566979bc428e313a8dd94b03a2078f5c to your computer and use it in GitHub Desktop.
//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+"\"/">";
@neilky
Copy link

neilky commented Oct 30, 2020

Do you know a way to do this in ZohoCRM Leads Module for the Lead Image?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment