Get URL of image uploaded in image field
After several hours I decided to write this topic...
I have tried several methods to make it work, but none of them solved the problem...
I need to get the URL of an image uploaded in an image field called: "tempImage".
I need to retrieve this data in a dynamic way, hardcoding is not an option.
function 1
result:
function 2
result:
function 3
here in the 3erd function we use the hash code of public report.
result:
Parameters
We get the hashcode from the perma-link report link.
- //OLD reportName = "Participantes_documentos";
- //OLD formName = "Participante_documentos";
- reportName = "Participantes";
- formName = "Participante";
- fieldName = "tempImage";
- hashCode = "OdyeO2TvTwzkkEPO8ZFAMMJ7Q5hv3fY1zMNe0pYVF0mtvfXFXOjps2Q9w0UuCjWfMQ15TGjYBH761dKTZJwDT2nKQ1V11vG4fbb7";
Console log throw
Info input.tempImage gives me this:
Inspecting element in HTML from report view
I extracted from the HTML and tried this but doesn’t work...
Inspecting element HTML from image preview
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.