Pass Byte Array content to Document Viewer

Pass Byte Array content to Document Viewer

Comments

  • Hi,

    Is there any way to pass byte array(pdf content) to Document Viewer. Our requirement is, when a user upload pdf file using File Upload Area, the file content will be convert to byte array and stored in the database. when the user clicks view document link, then the pdf content(bytes) fetch from database and will show in Document Viewer. I have attached the screenshots.

  • Hello,

    It looks like you are mapping the steps properly you could include a screenshot of the error you are getting?

  • Its downloading the file(GetFileStream) instead of showing in document viewer. Attached the screenshot. please look left bottom of the screenshot. I dont know what is GetFileStream.

  • Hello,

    Do you have a file name for your file in the create data step? I dont see that in your screenshot. Naming the file in your create data step with the .pdf file extension should resolve that error you are getting.

  • Thank you so much. it worked after I gave file name with .pdf extension :)

Sign In or Register to comment.