cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1861
Views
10
Helpful
4
Replies

How to put double quote character in a String variable

W S H FERNANDO
Level 4
Level 4

Hi Experts 

 

While Im doing some scripting for REST API Call, my web server needs exact below message ( including the double quotes) in the Body message, But when I make the REST call UCCX is automatically removing the double quotes characters from the variable. 

 

anyone knows how I can put the double quote character inside the String variable? 

I tried \" and it didn't work.

 

Regds

Sasith 

4 Replies 4

Nikhil Aind
Cisco Employee
Cisco Employee

Hi Sasith,

 

Using a backslash will not work due to the defect : CSCuq01978. Try using the '/' instead.

 

UCCX: Backslashes in String Value As Application Parameter Removed

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuq01978/?reffering_site=dumpcr

 

 

Regards,

Nikhil

 

 

***Please rate helpful posts***

unfortunately, I was not working either.

If I want to display (") I put ("/"") which gave me an error.

:(

 

Are you trying to do this from the appadmin webpage ?  What was the error seen.

 

Can you try to configure this on the script itself, because passing the variable as a parameter from the script might exhibit different behavior. 

 

 

Regards,

Nikhil

 

 

Nathan Gageby
Level 4
Level 4

Has there even been a solution for this issue?