Cannot display bitmaps in Webview generated modules

book

Article ID: 7287

calendar_today

Updated On:

Products

CA Gen CA Gen - Build Tool CA Gen - Workstation Toolset CA Gen - Host Encyclopedia CA Gen - Run Time Distributed 3RD PARTY TSO

Issue/Introduction

When developing Gen applications targeting Web (Webview), bitmap images display at design tiime, but do not display at runtime.  The same application displays bitmaps successfully when targeting GUI Windows.

Environment

Release: KGNDDL99000-8.5-Gen-DBP Developer License
Component:

Resolution

To display bitmaps within Gen Web (Webview) clients transitioning from Gen GUI Windows Clients. 

- Be sure the GUI Client Windows display the bitmaps (.bmp) on the windows successfully.  

- Convert all the .bmp bitmaps to .jpg files, using a paint package or other conversion tool.  Gen Web only accepts .jpg images. 

- Place the same named .jpg file(s) in the folder location: 'C;\...\<local_model>.ief\html\images\'

- Generate/Build/Assemble and Deploy the Gen Web application, the bitmaps will now be present at runtime.