xDeviceFileWrite

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
soa
Posts: 339
Joined: Mon Dec 07, 2015 3:15 pm

xDeviceFileWrite

Post by soa » Wed Mar 28, 2018 5:21 pm

Any know if this is possible in a VLWEB page.

Call a ServerModule which returns a series of images as BLOBs.

Write the BLOBS to local storage using xFileWrite

In a #PRIM_WEB.HtmlContainer set the HTML property to <img src="file:///MyPath/MyImage.jpg..."

If so in the XDeviceFile write Widget what would be the values for

FileEncoding and DataEncoding

and for FileName does specifing a path (eg MyPath/MyImage.jpg) cause that path to be created?

This would be a huge help if it can be done.

Cheers
Jim

Post Reply