Clarity PPM

Expand all | Collapse all

Carriage Return CR in a gel script parameter

  • 1.  Carriage Return CR in a gel script parameter

    Posted 10-20-2016 01:13 PM

    is it possible to include a  carriage return in the parameter defined by <gel:parameter>?

     

    From the Clarity UI,Custom Script Parameters, the parameter textbox is only one line and 80 char.

    but if it is possible from the UI, I am also interested in include CR from the code

     

    <gel:parameter var="my_param_string1" default =" include a CR in the middle of this text "/>

     

    The purpose of this is is create a dynamic text in a var (<core:set>) but the CR should be received from the parameter.

     

    Note that the var containing the dynamic string will not be used to create an email, so there is not possibility of HTML tags.

     

    thanx



  • 2.  Re: Carriage Return CR in a gel script parameter

    Posted 10-21-2016 12:37 AM

    Check these:

     

    How to embed a carriage return in a string? 

     

    New line CDATA (Gel Script)

     

     

    Happy Friday Have a great weekend

     

    NJ