Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Hide control panel in Interactive reports and grid for admin added controls only

TorJan 6 2021

Hello! I am looking for a way to add things like aggregation and highlights and such and then hide this from the end user. I know I can accomplish this by doing:
For IR: set the following in page Inline CSS
#<static-id>_control_panel{
display:none;
}
and for IG:
set the JavaScript initialization code in region attributes to:
function( options ) {
//Hide report options
options.reportSettingsArea = false;
// Return the options
return options;
}
The problem is that this will also not display any search terms or highlights or anything the user adds. So if say the user puts in a filter they can't easily tell that one was added nor can they easily remove it short of using reset which is not very intuitive. So is there any way to hide this for anything an admin has added but display them for anything the user themselves add?
I know I could use javascript and css to accomplish this but figured there may be a way to accomplish this using standard APEX functionality.

Comments
Post Details
Added on Jan 6 2021
2 comments
770 views