
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Writing text from a line as an html file
Hello,
I would like to download from the selected row/rows (by user) the value from the field (html code) and then save it to a file and after that open it as a web page.
I know that I need to write a macro but I can not do this.
A | html code | save |
---|---|---|
A | <code>A piece of computer code</code> | save |
B | <code>A piece of computer code 2 </code> | save |
Regards


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paula,
Try something the following:
T1:
LOAD * INLINE [
A, html code, save
A, <code>A piece of computer code</code>, save
B, <code>A piece of computer code 2 </code>, save
];
T2:
LOAD [html code] AS '<!DOCTYPE html>'
RESIDENT T1;
STORE T2 INTO .\html.html (txt);
After this, open the HTML file created.
Regards,
H

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for your answer.
Unfortunately, not exactly what I meant.
When I click on 'save', I just want to save the code and then display it on the screen.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paula,
Do you mean you want to extract data forma an HTML format?
Regards,
H

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hector,
I want to save the code <html> from the line as a .html file and then open it on the website.
Regards


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK,
Then I would look for in the Qlik Community for pieces of macros that:
- Read the values of a table box (e.g Macro - Loop Through Table)
- Write them into a file (e.g. Writing to a text file | Qlik Community)
Regards,
H


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe you could use an extension like: QlikTip #39: Displaying Html content within QlikView (Minimalistic HtmlTextBox Object Extension).
- Marcus

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You all for your help.
In Qlikview there are two built-in macros, 'Export' and 'Open URL', they were enough to solve my problem.
