This documentation is for the legacy Izenda 6 product. Documentation for the new Izenda 7 product can be found at https://www.izenda.com/docs/
Can I run javascript when a user clicks on a report element?
Yes, you can run javascript within any report element (like a field value) by adding the javascript: keyword in the URL field on the advanced properties of the field you want to use the URL with. You can see the screenshot below for an example of how this is used with the column name and value being used in the javascript as well.
In the above screenshot, you see a couple of items in curly braces {}. These are parameters that will be passed into the javascript. They can be used as variables or literal strings.
Below is the result of the above javascript as applied to a report with three fields. Product Name is column {1}, Ship City is column {2} and Ship Name is column {3}. {0} will refer to Ship City in this case since it is the column with the URL applied to it.
Last edited by Joseph Adams, 2015-02-18 15:43:39