XMLP - trouble showing database image in the report.
The report is generated from a custom page using App Server as mentioned in this article.
E-BI/XMLP: How to Create BI/XML Publisher Reports Using Dynamic Images Stored in Database Tables? [ID 1085746.1]
Peoplecode in the Field Change to generate Image URL,
Local Request &req = %Request;
Local Record &rec = GetLevel0()(1).GetRowset(Scroll.QE_EMPL_PHOTO2)(CurrentRowNumber()).QE_EMPL_PHOTO2;
Local string &url = %Response.GetImageURL(&rec);
Local string &ImgURL = &req.Scheme | "://" | &req.ServerName | &url;
the URL looks like this
&req.Scheme = http
&req.ServerName = DEV