Qlik Community

Ask a Question

QlikView Extensions

Discussion Board for collaboration on QlikView Extensions.

Announcements
Welcome to our newly redesigned Qlik Community! Read our blog to learn about all the new updates: READ BLOG and REPORTED ISSUES
cancel
Showing results for 
Search instead for 
Did you mean: 
Partner
Partner

Read/Write to file

Hi,

I am new to extension objects and I am trying to find the answer to the rather basic question about file I/O.

Is it possible to read/write to a file through a QV-extension object and if it is, could I get some pointers on what functions to use and where to find the documentation about them?

Thank you in advance!

1 Solution

Accepted Solutions
Employee
Employee

Short answer: you can't. Extension objects are primarily written in javascript that's executed in the browser. it would be a major security flaw if your browser could create files on your local computer.

Create a webservice and talk with that.

View solution in original post

4 Replies
Employee
Employee

Short answer: you can't. Extension objects are primarily written in javascript that's executed in the browser. it would be a major security flaw if your browser could create files on your local computer.

Create a webservice and talk with that.

View solution in original post

Master II
Master II

Hi.

Google the words: Client-Side Storage - HTML5 Rocks

Employee
Employee

Just a word of warning as you would be operating with computer specific key value pairs without any transactional security if you go the localstorage route.

The IndexedDB api could be interesting but that would rule out IE9 and below and Safari.

Partner
Partner

Hi,

I was afraid this would be the case so I will find a different solution to my problem.

Thanks for your replies!