cancel
Showing results for 
Search instead for 
Did you mean: 

Default value for prompt in the Universe

Former Member
0 Kudos

Hi

iam using the Prompt in the universe, which is working fine, but as my user requirement changes, i should display the today date (system date) as default date, user may changes if they want.

Here is the Date prompt what iam using right now, how I can modify this bellow code

BEGIN_DT < @Prompt('Begin Date: (Select Date from Calender)','D',,Mono,Free)

Thanks,

Krish.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Have a look at the following link.

http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/

- Noman Jaffery

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Krish, the only way to default a value on the prompt and yet allow the user to select a different value from the LOV is by custom code. If you have programming resources, you can write some JSP file that uses the Report Engine SDK and the openDocuments.jsp. You can pass the input parameter, in this case, a date to the report. Once you created this JSP file, you can put it in Infoview as a hyperlink that calls your report. But again, you need someone who can write Java code.

Hope this helps.

-


If you are using the BusinessObjects tool, you should join [ASUG|www.asug.com]

0 Kudos

Moved Universe Designer forum

Former Member
0 Kudos

Krish,

You cannot use a formula as a default in a parameter. This is a common topic and the answer is still the same.

HTH,

Jason