Skip to Content
avatar image
Former Member

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 😔

Any ideas?

Thanks and regards!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 02, 2015 at 02:41 PM

    Hey Maciej,

    I don't think it's possible. The UserResponse syntax specifically needs the Prompt text (string) and not a variable in which you've saved that prompt text.

    string UserResponse([dp;]prompt_string[;Index])

    I tried creating it, and got the same error as you did. It doesn't give us an error while parsing though, which is surprising.


    Mahboob Mohammed

    Add comment
    10|10000 characters needed characters exceeded