Skip to Content
author's profile photo Former Member
Former Member

setting value to a universe conition using API

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Nov 10, 2009 at 04:17 AM

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

    Sincerely,

    Ted Ueda

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 10, 2009 at 06:49 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.