Page 1 of 1

Custom view: how to inject parameter PMA in view url

Posted: 11 Jun 2024, 15:06
by michaelyeg
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?

Re: Custom view: how to inject parameter PMA in view url

Posted: 15 Jun 2024, 06:49
by JohnM
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]"/>