cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Display Images Dynamically on Adobe form (developed via PDI on ALD)

Dedeepya
Product and Topic Expert
Product and Topic Expert
0 Kudos
1,006

Hello Experts, I have a query regarding dynamic display images on Adobe form designed using Adobe Livecycle Designer. Is it possible to display images dynamically by streaming the image object details (URL) to Adobe form? On checking in public forums (non-sap),  I read that images can be sent to forms in Binary Format only and it does not accept URLs. To send an image object in Binary Format it would need to be in BASE64 encoded format and transmitted to Adobe XML stream in a string format field. I could not find an API in PDI which would help me do this. Has anyone tried doing this from PDI  or purely on Adobe Livecycle Designer (ALD), if so any pointers would be of great help. Thanks in advance. Dedeepya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Dedeepya,

first:

I haven't tried this, so I have no idea whether this works.

My idea is as follows:

Using the PDI, there is a reuse library method Binary.ToBase64String which converts a binary object to a base64 encoded string.

Thus, my idea would be to add a (possibly transient - needs to be evaluated) string field to a business object. Now, Before calling the event handler action opening the pdf, the image (stored as binary object) could be converted to base 64 and stored in the given field.

Now, (I think) you should be able to handle the rest using appropriate Adobe tools.

Best regards,

Ludger

--

Custom cloud development with all4cloud.de

Dedeepya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks Ludger, My colleague was able to perform this Adobe Form script using Javascript, by storing the images in Adobe local server and flipping their display dynamically using code. BR Dedeepya

Answers (0)