Monday, June 9, 2014

Reset button on Prompts

Many users want a button on the prompt itself that can clear off everything and take them to default values. Might be you would are thinking we can achieve this by “Reset” Button, but it does not work in all manner check below.

If (1) the prompt is blank (2) select some value, (3) reset (4) it goes back to blank.

If (1) the prompt is blank (2) select some value, (3) apply (4) reset. (5) It does NOT go back to blank. Actually it does not change anything.

If (1) the prompt is blank (2) select some value, (3) apply (4) change any values (5) reset. (6) it undo any changes done in step 4.

So we want to add new button where it will clear off all prompt value and take them to default value.

Go to Dashboard – Edit Dashboard – Drag Text box object below prompt
Edit Text box and Add below code into text box and enable HTML check box.

<P Align=Center <div class="XUIPromptEntry minibuttonOn"><a href="#" onclick="return PersonalizationEditor.removeDefaultSelection(false)"}>Clear Prompt : It will take you default prompt[Rakesh Patil] </a><align=left></div></P>

Save the dashboard - Run the Dashboard,

You will see the prompt button i.e. “Clear Prompt: It will take you default prompt [Rakesh Patil].

Now you select any prompt value and click on “Clear Prompt: It will take you default prompt [Rakesh Patil] button.

I hope it will help you :)

Thanks and Regards 
Rakesh Patil
rakeshpatil002@gmail.com
OBIEE Foundation Suite 11g Certified Implementation Specialist

No comments:

Post a Comment