Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: How to Define a Required Prompt at the Universe Level

$
0
0

Hi...


  1. Is it possible to include required prompts/filters in the Universe definition?


  • Yes..it’s possible to include prompts at universe level,


  • If all the reports are using same prompts, you can create at universe level and use same prompt in all the reports. You can define mandatory or optional prompt.

 

Following is the syntax for the function.

@Prompt('message','type',[lov],Mono|Multi,free|constrained|primary_key,persistent|not_persistent,[default_values])

 

The following are simple examples of @Prompt syntax.

Minimal use of the @Prompt function:

@Prompt('Displayed text ','A',,,)

 

Using the @Prompt with a LOV without default values:

@Prompt('Displayed text ','A',{'Paris','London','Madrid'},,)

 

Using the @Prompt with a LOV and one default value:

@Prompt('Displayed text ','A',{'Paris','London','Madrid'},,,,{'Paris'})



2 : If so, how?


 

  • In the condition's SELECT or WHERE field, right-click at the place in the expression where you wantto add a prompt and

          select @Prompt editor from the shortcut menu.

  • In the Message box, type the message that you want the user to see.
  • Select Keep last value selected if you want the prompt to propose the values used for the previousreport.When the report is run for the first time, the default values (if any) are proposed.
  • Select Allow multiple selection if the user can enter or select more than one value.
  • Set the Selection mode. For Free selection, the user can enter any allowed value. For Constrainedselection, the user must select a value from a list of values. For Primary key, the user selects theobject name, but the object's primary key is used by the query. You can only use the Primary keysetting if Index Awareness is set.
  • Note:
    • When the Constrained option is selected and a List of Values is not specified, the correspondingTab color turns to red, OK button is disabled, and on moving the cursor over the highlighted tab, thecontextual tooltip displays a message indicating how to rectify the problem.


  • Set the Value type for the selection mode: Alphanumeric, Number, or Date.
  • If you have selected Primary key for the selection mode, set the Key type: Alphanumeric, Number,or Date.
  • If you are using multiple selection, define the list of values. Do one of the following: you can type orimport a list of values, or you can select a universe object.
  • Click the Default Values tab and define any default values. When you allow multiple selection, youcan set more than one default value.
  • Click OK.
  • The "@Prompt" editor closes and the prompt expression is visible in the condition's statement inthe "Edit Properties" pane.
  • Validate the prompt and click Parse.When the syntax is

 

http://business-objects-xi.blogspot.in/2009/06/prompt.html


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>