Skip to Content
avatar image
Former Member

Unescaping text in a page called by the HTMLLoader action

Hi Experts,

I want to unescape ( which in the live page does it right executing a javascript code ) some text while calling that same page using the HTMLLoader action . How can I do it ?

Thanks in advance,

Antonio R. Rubalcaba

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 13, 2010 at 06:14 PM

    Antonio,

    You can use the link editor of the HTML loader action block to map the SourceURL. When you do this, you can use the functions to decode the URL. You may want to investigate the [decode() |http://help.sap.com/saphelp_mii121/helpdata/en/45/bf7f3b692f52f5e10000000a1553f7/content.htm]function. Also, you can include a conditional after the HTML loader action and check the loader's success bit for error handling.

    Hope it helps,

    Kevin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Kevin,

      When I set the message property of the send mail action equal to decode(StringContent) of the HTMLLoader action , I get the following bls error :

      [ERROR]: STEP EXCEPTION () : Expression Evaluation error: Function error in : decode : URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "">"

      I want to apply the decode function to the whole HTML code .

      Best regards,

      Antonio R. Rubalcaba