on 08-21-2007 1:27 AM
Hi All,
It seems that passing XML or even just "<" or ">" into VC as part of a parameter value does not work.
i.e. Using
&_paramsXmlStr_=<Params><Row myData="test"></Params>
passes "test" into "myData" fine, but using
&_paramsXmlStr_=<Params><Row myData="<test"></Params>
&_paramsXmlStr_=<Params><Row myData="<test"></Params> or
&_paramsXmlStr_=<Params><Row myData="%3Ctest"></Params>
doesn't.
Anyone know how to get around this issue or whether this is supported at all (no notes exist on this issue)?
Thanks in advance,
Matt
Hi Matt,
seems to be the same problem with ampersand and other special character.
As a solution you must use a workaround, use as formula:
CHR(60) for <
CHR(62) for >
This should work for <Params>:
CHR(60) & "Params" & CHR(62)
Best Regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Marcel but this really is not a work-around that I can implement in a easy-maintenance manner. For now; I'm using BSP instead and will recommend this be implemented using Web Dynpro in the end.
Possibly Visual Composer supports a HTTP post for this XML which could get around this. (Actually - I may just test this scenario).
Hi Matt,
Have you tried to URL encode this xml? This should work.
Regards,
Natty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt,
I checked it. The reason is that the Flex code is unencoding the URL encoded parameter and then puts the value in an XML object and this fails because of the XML tags inside it. I will ask my colleagues from RT to have a look at it. I hope they can issue a fix for it in the next major Flex RT version
Thanks for the investigation and clarification. This would be a great feature to have as the design of letting external app's call Visual Composer with an XML string and having the back-end process this is a very cool concept.
That said, if we can build an XML parser operating that can convert XML input into a structure automatically; that would really be a good VC feature for interoperability.
Regards,
Matt
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.