Remove Reset Button - OBIEE 11.1.1.6.0

Got a chance to do R&D after looking one question posted on OTN and it was - Whether we can remove Reset button ( reference dashboard prompt ). So let us see if we can do so. I am using OBIEE 11.1.1.6.0 on Windows 7 -32 bits. I will perform a test on IE8.
First of all have a look at the dashboard prompt and report. Look at the Reset button.






Now basically we are going to delete some code from the existing java script promptsruntime.js
This file is located at 2 places. Hence change should be made at both the places.

C:\OBIEE11g\Oracle_BI1\bifoundation\web\app\res\b_mozilla\prompts
AND
C:\OBIEE11g\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\_WL_user\analytics_11.1.1\silp1v\war\res\b_mozilla\prompts

I have provided the link from which you can download the modified promptsruntime.js
https://docs.google.com/open?id=0B_6YDYCkQgcfU21QY2lmNVdwSjA


After you put the modified file at 2 places shown above, restart all the services.Delete cookies,History,cache from the IE browser. Reload the server metadata and files once you logged in to the front end.


And look at the same report- Reset is gone. It is actually gone from all the dashboard prompts.






-- Updating-->

We also have to remove the "Show Reset Button" check box which you can see in the dashboard prompt properties (Edit Page Settings).


For that we have to modify one existing javascript named promptseditor.js Below link will gives you the modified javascript.
https://docs.google.com/open?id=0B_6YDYCkQgcfbnVKMTdOXzRpTTQ

Put this file at 2 places.


C:\OBIEE11g\Oracle_BI1\bifoundation\web\app\res\b_mozilla\prompts
AND
C:\OBIEE11g\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\_WL_user\analytics_11.1.1\silp1v\war\res\b_mozilla\prompts


Restart the services. Clear Browser cache. Reload metadata. Let us see the dashboard prompt editor and you will find the "Show Reset Button" checkbox would have gone.













All the best



3 comments:

Bobby said...

this is excellent. Is it possible to share what are the changes you performed in promptsruntime.js file.

Appreciate if you share those details.

Thanks,
Syam

Bobby said...

This is excellent. Is it possible to share the changes whatever you performed in promptsruntime.js file.

Appreciate your response.

Thanks,
Syam

Nachiket Mehendale said...

Try if you can download from
https://docs.google.com/file/d/0B_6YDYCkQgcfU21QY2lmNVdwSjA/edit?usp=sharing