Skip to Content
0
Former Member
Sep 01, 2008 at 08:10 PM

BusinessGraphics Image - Displaying it in Adobe Interactive Form

47 Views

Hi.

We need to display some BusinessGraphics (runtime generated) in Adobe Interactive Form. So, we tried to solve it using two ways:

1 - Generate a URL to access the BusinessGraphics image, using web cached resource. But somehow, it doesn't works well. When we call the URL directly on Internet Explorer, it is displayed. But when we set the URL in an Image in Interactive Form, no success... it is not displayed.

Ex.: using Formcalc on Initialize event: "Image.value.image.href = $record.PortalData.EmployeePhotoURL"

OBS.: when we map it to a normal URL (ex.: "http://server.domain.com/image1.jpg"), NOT generated in runtime, it works well...

2 - Generate the image as a byte stream, convert it to Base64 and bind it to an ImageField, as I saw wrote here in a thread (without any more helpful answers...). The problem here is that we dont know how to generate the Byte stream for the BusinessGraphics image.

Does anyone knows how to generate a byte array from an Image of a BusinessGraphics component? Or have a differente approach to display a BusinessGraphics on an Interactive Form (like deals directly with IGS)?

Regards,

Douglas Frankenberger

PS.: we are using:

- NWDS 7.0.10

- Adobe LiveCycle Designer 7.0.050519