Custom view: how to inject parameter PMA in view url

Post Reply
michaelyeg
Posts: 1
Joined: 11 Jun 2024, 15:01

How can I configure a report with url

Code: Select all

viewer_1/report?XML=reportXML.xml&PMA=store_33_Class100199&cl=en-gb&XSL=enterprise/core_el_strategic_plan_summary.xsl&PAGEXSL=&LABEL=Strategic%20Plan%20Summary%20-IRCC%20Digital%20Strategy
to inject

Code: Select all

PMA=store_33_Class100199
to report in report configuration?
JohnM
Posts: 538
Joined: 17 Feb 2009, 20:19

There is a param1 variable that holds the PMA value

You can then use that in your data, e.g.
<xsl:variable name="currentApp" select="/node()/simple_instance[type=('Application_Provider', 'Composite_Application_Provider')][name = $param1]"/>
Post Reply