Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Mashup-Copy text from object

Anyone experience such a challenge?

Lets say if I want to copy any text from this Demo website:

Market Size & Share

Either thru native option , extension or script.

2 Replies
erik_wetterberg
Honored Contributor

Re: Mashup-Copy text from object

Hi,

The reason this does not work is some css:

html, body {

  user-select: none;

}

This is included in Qlik Sense stylesheet, so generally copying text does not work in a Qlik Sense mashup. To copy you need to modify the css, which you can do in developer tools. Just set:

user-select:text;

on the element you want to copy, and it will work.

Hope this helps

Erik Wetterberg

Erik Wetterberg
https://extendingqlik.upper88.com/
MVP
MVP

Re: Mashup-Copy text from object

I think a highly dynamic webpage/site of this sort demands more sophisticated software to do "web/data scraping". Something like this perhaps:

Data Scraping Studio™ - Web Scraping & Data Extraction Software

(Be aware of the legal consequences that might kick in if you pull data this way)

Qlik Sense native webfile with this in a load script:

LOAD

  *

FROM

  LIB://INTRO(txt);

Would return this:

2018-01-05 09_37_08-Qlik Sense Desktop.png

Which indicates that a headless-browser (or similar approach) needs to be used to retrieve all of the webpage content and into a final DOM that needs to be parsed.

Community Browser