DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Reading Stylesheet Parameters into GatewayScript

    Posted Thu February 20, 2020 08:37 AM
    Hello Experts,

    I'm stuck at an issue where i'm not able to understand how to proceed further. 
    While using a transform action with an xslt, we can use the tab "Advanced" to set "Stylesheet Parameters".

    The same option to add Stylesheet Parameters under Advanced tab exists for the GatewayScript too. 

    For accessing these in XSLT's I understand, I can use a <xsl:param to get the default value into the XSLT.

    But I cant seem to find how to do that for a GatewayScript.  Can anybody help with that.

    DP version: 7.6.0.4

    @Hermann Stamm-Wilbrandt your expert views on this please.​​​

    ------------------------------
    Ayush Singh
    ------------------------------


  • 2.  RE: Reading Stylesheet Parameters into GatewayScript

    Posted Fri February 21, 2020 02:28 AM
    Hi,
    This might be the thing you are looking for:

    https://www.ibm.com/support/knowledgecenter/SS9H2Y_7.7.0/com.ibm.dp.doc/session_js.html#session.parameters.parametername

    --Hermanni

    ------------------------------
    Hermanni Pernaa
    ------------------------------



  • 3.  RE: Reading Stylesheet Parameters into GatewayScript

    Posted Wed February 26, 2020 09:29 AM

    Hi, in addition to Hermanni's response, you should not run 7.6.0 firmware anymore, because that had end of service 2019/12/31:

    https://www.ibm.com/support/pages/node/83105

    Please upgrade to a supported firmware level, 2018.4.1.x as of now.



    ------------------------------
    Hermann Stamm-Wilbrandt
    DataPower, XML Compiler developer, L3
    IBM
    Boeblingen
    49-7031-16-3032
    ------------------------------



  • 4.  RE: Reading Stylesheet Parameters into GatewayScript

    Posted Wed February 26, 2020 09:29 AM

    Hi,
    in addition to Hermanni's answer, you should not run 7.6.0 firmware anymore, since it had end of service 2019/12/31:

    https://www.ibm.com/support/pages/node/83105

    Please upgrade to supported firmware 2018.4.1.9



    ------------------------------
    Hermann Stamm-Wilbrandt
    DataPower, XML Compiler developer, L3
    IBM
    Boeblingen
    49-7031-16-3032
    ------------------------------