Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
HeinriG
Contributor III
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 (1)
1 Solution

Accepted Solutions
HeinriG
Contributor III
Contributor III
Author

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

View solution in original post

1 Reply
HeinriG
Contributor III
Contributor III
Author

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