Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
venkat_thota
Contributor III
Contributor III

Parameters in open_url: handling coma (,)

I used document chaining and used open_url, passed the parameters. everything is working great, except when the parameter has a string and that has a coma symbol (,) in it. Coma is treating as a second value of parameter rather than a whole string. How to handle comma to take it as a single string rather than multiple values.

http://myserver//QvAJAXZfc/opendoc.htm?document=DocumentName.qvw&host=Local&select=LB01, Val, ue

see the above url, since my value is coming with commas like 'Val, ue', its taking 'Val' as one value and 'ue' as second value and filtering data in wrong way.

Labels (3)
1 Reply
Brett_Bleess
Former Employee
Former Employee

The only thing that comes to mind is URL encoding the ',' like the following:

Val%2Cue

Best I have, hopefully that may do the trick.  For further info on that, try doing a Google search on URL encoding as well. 

Here is one link: https://www.w3schools.com/tags/ref_urlencode.asp

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.