Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

HeinriG
New Contributor III

Using object in HTML tag attributes - NPrinting

Hi,

I was wondering if it is possible to add objects from a table (ex. %%Work Orders%%) in the "id" attribute of an HTML element? My aim is to be able to reference specific elements that are generated dynamically. For example: 

<a id="%%Work Orders%%">These are Work Orders</a>

From my testing all it does is place it as string in the id and not the actual data entry. 

If anyone has any ideas how to get around this I would really appreciate it.

Labels (2)
1 Solution

Accepted Solutions
HeinriG
New Contributor III

Re: Using object in HTML tag attributes - NPrinting

Hi,

For some reason it started working. So even if you put the object reference in quotes it will evaluate it and add it in the attribute field. 

Kind regards,

Heinri

1 Reply
HeinriG
New Contributor III

Re: Using object in HTML tag attributes - NPrinting

Hi,

For some reason it started working. So even if you put the object reference in quotes it will evaluate it and add it in the attribute field. 

Kind regards,

Heinri