<< Click to Display Table of Contents >>

OZExportMemoryStreamCallBack

This event occurs after Script("save_memorystream", "savedm_memorystream") or ScriptEx("save_memorystream", "savedm_memorystream") function is executed.

Parameters

outputdata

The result is stored in the Memory Stream

Reference

The outputdata is returned as a string in the format of {"file path": "Memory Stream of the saved file that is encoded in base64"}. However, HTML5 Viewer returns the file name, not the file path. Multiple files are returned by a comma delimiter. ex) {"Path1":"Stream1","Path2":"Stream2",...,"Pathn":"Streamn"}. If you cancel saving or an error has occurred, returns {}. If the report is saved in multiple files, the OZExportCommand event is called multiple times but the OZExportCommand event is called only once after all saving is completed.