Ok let me show you to adopt this APEX view as authorization scheme to view/access menu base on role granted by main navigation menu which is APEX_APPLICATION_LIST_ENTRIES
- Display APEX_APPLICATION_LIST_ENTRIES as tree
- The Query
- Use same icon as List change this : Region Attributes >> Settings >> Icon Type : fa
- Display List as Tree
- Use on role entry
- Create Authorization scheme base on role
- Use Authorization on pages, list
select case when connect_by_isleaf = 1 then 0
when level = 1 then 1
else -1
end as status
, level
, entry_text as title
, entry_image as icon
, list_entry_id as value
, null as tooltip
, null as link
from APEX_APPLICATION_LIST_ENTRIES
where application_name = 'APPS_NAME'
and list_name = 'List name'
start with list_entry_parent_id is null
connect by
prior list_entry_id = list_entry_parent_id
order siblings by display_sequence
Tidak ada komentar :
Posting Komentar