cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
801
Views
0
Helpful
0
Replies

Create JSON step cisco UCCX Editor Read a text file

Jenni
Level 1
Level 1

Hi,

I am trying to parse the sample host response through text file. I save the json in "response.txt".  It's been loaded into document manager under the folder "en-US". I am trying to access the document through Create JSON document step. I was trying to use create file and create file document giving the path as following two ways 

1. Just ["Response.txt"] in create file document

2. and ["/opt/cisco/uccx/Documents/User/en-US/Response.txt"]

while trying to use the Create json step, getting an error that  "Response.txt" is not a Text document.

The Response.txt is having valid json text with in.

 

I tried to use the https url  to access  Response.txt using create URL document step.

"https://<uccx-server>/appadmin/temp/Response.txt"

Either way, I could not access the text file having the json content. I am not sure what I am missing. 

 

Please help. 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: