BusinessObjects Board

How to use @prompt()

Hello Gurus,

Im trying to learn how to use the @prompt(),
Can I create an object that prompts another object’s values?

How do I do this, where can I find a tutorial or guide on line to write srcipts?

thanks


caiaphas25 (BOB member since 2007-11-16)

.

Can you please explain?

see the format

prompt Object = @PROMPT(‘Enter the text’,‘A’,‘lov’,MULTI,FREE)

You can customize according to your requirement.

A- Alpha numeric
D-date
N- Number

Multi - to select multiple values
Mono- To select a single value

Free- you can write you own/you can also select
constrained- you need to select from set of values.

Thanks,

Ranjan


ranjan.sahoo :india: (BOB member since 2007-06-11)

thanks for explaining me the parameters

Im trying to make an prompt that list values generated out of another object, is this posible?
for instance in the values parameters of the prompt function, if I referneced an object already created, will this values appear on the prompt?


caiaphas25 (BOB member since 2007-11-16)

ofcourse, you can do.

For better understanding,can you please explain what is that another object and what is the prompt that you are trying to create.

Let us know your exact requirement.

Thanks,

Ranjan


ranjan.sahoo :india: (BOB member since 2007-06-11)

I have an Object which it has LOV , I want to to put this object’s LOV in a prompt so the user can pick a value, when the user selects the value the object that is promting for a value will generate a set of values out of this paramaeters. is this possible??
if it is, how am I suppost to use the prompt function, I have tried this

on an object on the select statement

@prompt(‘Select value’,‘A’,‘attributes/concept_name’,mono,constrained)


caiaphas25 (BOB member since 2007-11-16)

don’t put it in the select statement.

create a condition object and try yours and put that condition object in the condition pane of query panel.

@prompt('Select value','A','attributes/concept_name',mono,constrained)

The code is fine. create a condition object to achieve this.

Thanks,

Ranjan


ranjan.sahoo :india: (BOB member since 2007-06-11)

sorry Im new in BO and Im just starting to get the hang of this

what do you mean by a condition object?

Thanks


caiaphas25 (BOB member since 2007-11-16)

Hi

  1. There are tons of info available in BOB-FAQ reg prompt please refer this link it might me useful for you.https://bobj-board.org/t/15227/2

gurumurthy :uk: (BOB member since 2004-12-10)

select the particular class where you want to put up the object then
insert-> condition, name the condition

put that prompt in that object and make parse.

prompt object comes in where clause of sql query.

Thanks,

Ranjan


ranjan.sahoo :india: (BOB member since 2007-06-11)