cancel
Showing results for 
Search instead for 
Did you mean: 

setting value to a universe conition using API

Former Member
0 Kudos

Hi,

we are creating WEBI report using API. we managed to create the report and add prompts to it. now we need to use universe condition that was defined with prompts and set value to its prompt.

i am looking for the API to do this i.e. if i have condition with several prompts defined in it (using @prompt option in the universe)

and i know the condition path in the universe i need API that will

- retrive the object form the universe based on the path(i think i know how to do this)

- set vlaues to the prompts define in this condition (based on thier order or thier name)

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

ted_ueda
Employee
Employee
0 Kudos

Why not set the prompts via the WebI doc - I'm assuming you're using ReportEngine SDK here.

Sincerely,

Ted Ueda

Answers (1)

Answers (1)

Former Member
0 Kudos

this is probobly an option but is it possible to do it on the query level when i add conditions to the query like it is done with prompts i am creating using the api. for promts i create i am doing somthing like:

ConditionObject condObj = cond.createConditionObject(storeObj);

FilterCondition fcond = condObj.createFilterCondition(op);

ConditionPrompt prompt = fcond.createConditionPrompt(filterExp.getPromptText());

prompt.addDefault(value);

i was looking for somthing like this API, this way it will fit in to my flow of code