UserResponse with Variable
I'm working on some automation process for our BO reporting. Each Webi Document in our project has some info page that has many different information about document. Till now it was all written by hand by developer - the idea is to make it automatically generated by BO.
I've made almost whole info page, but I have problems with one element - info page contains info about what prompts were used in report (like Prompt: User response).
Problem is that UserResponse function can work only with string written in "" - like UserResponse("Put correct date") and so one. I have additional group of scripts that are using BOSDK to retrieve what prompts are used in each report and then those are stored in DB. I can retrieve those "strings" that appears in Prompts in current report and access it via some object, but UserResponse is not working with that object. It gives #DATATYPE
Even if I put Prompt string into variable - it is not possible to use this variable with UserResponse function
Thanks and regards!