I am new to app studio and also to an environment with a separate client and reporting server. I am attempting to include a png image with a transparent background in the report heading. The present code works fine for HTML but not for AHTML/PDF/XLSX. Below is the pertinent code.
I have read through many posts concerning this, where it is being stated that the image file needs to be placed in the app path. I have tried that, but it seems to not work. I have tried putting the image on the client server, which has not worked for me either. I have not really been able to find any app studio documentation concerning this. Can anyone point me to a document or post that will clearly explain how to do this?This message has been edited. Last edited by: <Emily McAllister>,
WebFOCUS 8203 Gen 43 App Studio 8203 Gen 04232018 Hyperstage 8203M Gen 1320 MS Sequel Server 2014 Windows 10 Excel/AHTML/PDF/HTML Chrome, IE11
May 19, 2016, 09:13 AM
Tamra
gerndude,
The following link from the IBI Technical Content Library may provide some assistance with your image question.
WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
May 20, 2016, 08:40 AM
gerndude
Tamra. Thanks for the information. Yes, I learned that putting an image in the app path will make it available for PDF and XLSX. I also learned that putting those images in the baseapp app path works, since it is the default app path in my server path. The advantage to using this is that you only need to put the image in one app path instead of each app path that you need the image in. This simplifies administration and future changes. Now I am trying to use an image in the cells/columns of a report. An image can easily be added to a cell in HTML/AHTML, but I have not been able to output an image in a column for PDF or XLSX. I am wondering if that is even possible. Mainly, I am focusing on PDF first. Can you answer that question?
WebFOCUS 8203 Gen 43 App Studio 8203 Gen 04232018 Hyperstage 8203M Gen 1320 MS Sequel Server 2014 Windows 10 Excel/AHTML/PDF/HTML Chrome, IE11
May 20, 2016, 09:36 AM
Ricardo Augusto
Easy.
TABLE FILE CAR
SUM SALES
BY COUNTRY
HEADING
"Period: TEST"
ON TABLE SUBFOOT
"testing"
""
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,
$
TYPE=REPORT,
IMAGE=ford_logo.jpg,
SIZE=(1.000000 0.291667),
$
END
PS.: ford_logo.jpg and endeflt are on the same path of fex. On my case they are under IBFS:/WFC/Repository/vesir218/std_reports/dev/
WebFOCUS 8.1.05 / APP Studio
June 08, 2016, 04:44 PM
gerndude
[SOLVED] I learned that putting an image in the app path will make it available for PDF and XLSX. I also learned that putting those images in the baseapp app path works, since it is the default app path in my server path. The advantage to using this is that you only need to put the image in one app path instead of each app path that you need the image in. This simplifies administration and future changes. Now I am trying to use an image in the cells/columns of a report.
WebFOCUS 8203 Gen 43 App Studio 8203 Gen 04232018 Hyperstage 8203M Gen 1320 MS Sequel Server 2014 Windows 10 Excel/AHTML/PDF/HTML Chrome, IE11