on 12-12-2010 3:11 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
I am still getting very strange characters in my text ( many % ) . Are we talking about the same ¡? I am referring to the unescape / escape funtions of the JavaScript . Does the undecode / decode bls functions are equivalent ¡? I used the decode bls function and I got the same results.
Regards,
Antonio R. Rubalcaba
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
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.