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!

How to make APEX ListView rows not-clickable based on Authorization Scheme?

F.J.Apr 18 2022

Hi,
I have a List View report with its Link Target property set to open a modal form page with the details of the List View row clicked.
The point is that if the the Authorization Scheme of the connected user is not enough for the modal form to open then the "Insufficient Privileges error page" is shown. I'd like the rows to be not even been clickable if the Authorization Scheme is not met, as if the Link Target property hadn't been set.
In other report regions, IR for instance, the Link-icon and Create-Button are not shown if the privileges are not met, but in the List View there's no way to avoid the rows to try to redirect to the target based on the privileges.
I could duplicate the List View region and have one of them with the Link Target set and the other one without it, and use their Authorization Scheme property to show one or the other accordingly, but I would like a more efficient and elegant approach if possible.
Any ideas are appreciated.

Regards

Comments
Post Details
Added on Apr 18 2022
4 comments
488 views