Reputation: 11
I want to show different list in navigation menu bar in different page in oracle apex. How can I override Navigation Menu Bar?
Upvotes: 0
Views: 4612
Reputation: 169
From Shared Components --> Navigation Menu --> Navigation Menu too
there are you'll see Authorization Scheme column like this in yellow
just click on it then choose what scheme you want to apply to specific entry
Upvotes: 0
Reputation: 752
Gazi Salahuddin
If I were you, I would use the Authorization Schemes on each item menu.
Basically, an authorization scheme is based on roles and it will show the corresponding menu items to the corresponding users but depends on the role or roles.
For example: Exists SQL Query
select count(*) from users where user = 'username' and role = 'Admin';
If the result of my dummy query returns data, the authorization scheme will render the component.
Tip: authorization schemes can be applied to anything in Oracle APEX.
Here is the link to the documentation.
Upvotes: 0
Reputation: 143043
set its type to e.g. "PL/SQL Function Body returning a Boolean"
enter code which will use :APP_PAGE_ID
as it lets you know which page you're currently on, and lets you decide whether to display that menu entry for that page or not. For example, to display it when you're on pages 2, 4 and 9 enter
return :APP_PAGE_ID in (2, 4, 9);
Upvotes: 2