Forum Discussion

Gursimrat's avatar
Gursimrat
Leader
11 years ago

How to read parameter from URL on the custom page

We are planning to create a custom page where I would need to get the name of the parameter.

 

/t5/custom/page/page-id/GlobalText?textName=text1

 

I need a way in FTL to get the value of textName.

1 Reply

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    11 years ago

    Hey Gursimrat 

     

    you can leverage the http.request freemarker object (in the initialization script).

     

    Hope this helps,