img = frm_Fichas[ID == input.Nombre].Foto;
imgno = Nophoto[ID2 = 1].Image;
if(len(img) > 1)
{
img = img.replaceAll("/sharedBy/appLinkName/",zoho.appuri);
img = img.replaceAll("viewLinkName","Fichas_de_personal_public");
img = img.replaceAll("fieldName","Foto");
img = img.replaceAll("<img ","<img height=150px width=150px ");
input.VerImg = "<center>" + img + "</center>";
}
else
{
imgno = imgno.replaceAll("/sharedBy/appLinkName/",zoho.appuri);
imgno = imgno.replaceAll("viewLinkName","Nophoto_Report");
imgno = imgno.replaceAll("fieldName","Image");
imgno = imgno.replaceAll("<img ","<img height=150px width=150px ");
input.VerImg = "<center>" + imgno + "</center>";
}
This works perfectly in the app, but the image isn't visible on the customer portal. The report is public, but I assume a different link is needed.