Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Condition for pictures

Hi everyone!

I have two questions:

1) Is it possible to identify a picture in script so that I could use it futher via its ID or anything else

2) The main problem is that I need such a condition that only 1 of 10-15 pictures will be represented. These pistures should be saved in qvd.

Many thanks in advance!

Marina

2 Replies
MVP
MVP

Re: Condition for pictures

From help:

Bundle

The Bundleprefix is used to include external files, such as image or sound files, or objects connected to a field value, to be
stored in the qvw file.

If a piece of external information, such as an image or a sound file is to be connected to a field value, this is done in a table that is loaded with the Info prefix. In order to maintain portability, it is possible to include the external files into the .qvw file itself. To this end
use the Bundle prefix. The bundled info files are compressed in the process, but will nevertheless take up additional space both
in the file and in RAM. Therefore consider both the size and the number of bundled files before going for this solution.

The info may be referenced from the layout as normal info, via the chart info function or as an internal file via the special syntax qmem:// fieldname / fieldvalue alternatively qmem:// fieldname / < index > where index is the internal index of a field value.

The Info prefix may be omitted when Bundle is used.

Bundle[Info] ( loadstatement | selectstatement)

Examples:

Bundle Info Load * Fom flagoecd.csv;

Bundle SQL Select * From infotable;

sorrakis01
Valued Contributor

Re: Condition for pictures

hi Marina,

You can use Bundle method.

I attached an example with a various examples. Bundle, Info, Background...

Regards.

Community Browser