Image is not loading in Virtual Agent

Abhijit Das7
Tera Expert

Hi Everyone,

 

I am working on Virtual Agent, and I am trying to get image but it is not loading.

 

va look.PNG

 

And I am loading image URL from lookup utility.

va image.PNG

 

Can someone help me?

 

Thanks in adavance

6 REPLIES 6

Hemant Goldar
Mega Sage
Mega Sage

Hi @Abhijit Das7 ,

 

Are you fetching the image from the db_image table?

OR  Is there any specific URL you are trying to hit through the Image URL link?

 

Thanks,

Hemant

Hemant Goldar
Mega Sage
Mega Sage

As you have provided the sys_id of the image in the link image URL field that may cause the broken image.

make sure to give the proper URL, Find the below example for the same and add this piece of code in the Image URL link.

var url="https://<instance_name>.service-now.com/"+vaInputs.lookup
return url;

 

 

I hope this helps!

 

Regards,

Hemant 

**Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.**

Hi @Hemant Goldar 

 

I have attached Lookup record above in flow, so I am getting the URL from that record. These records are coming from custom table and each record has QR Code whose URL I am putting in image utilitycustom image.PNG

 

Qrurl - it is URL of QR code in that custom table , I have to retrieve that QR code in virtual agent.

Qrurl looks like this - https://firebasestorage.googleapis.com/v0/b/carear-hyperspace.appspot.com/o/qrcode%2FgskQ4J3ZapVmHxi...

 

But it changes with every record.

 

Thanks in advance.

 

You are providing the URL of the Table?? Is QrURL fixed ??

Can you log through the script and check what exact value you are getting through QrURL?

 

Thanks,

Hemant