如何根据Oracle Apex中的用户类型渲染不同的页面?

发布于 2025-02-06 14:53:51 字数 48 浏览 0 评论 0原文

我是Oracle Apex的新手,很难找到有关如何做的资源。任何帮助都将不胜感激。

I am new to oracle apex and having trouble finding resources on how to do it. Any help would be really appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

逆流 2025-02-13 14:53:51

如果要向每个用户显示同一页面不同的页面,然后使用“服务器端条件”的类型是返回boolean的函数,例如,

return f_app_type(:APP_USER) in ('MANAGER', 'ANALYST');

它将呈现该元素(区域,,,项目,无论如何)仅适用于经理或分析师的用户,而其他用户则看不到它。


或者,如果您想将用户导航到不同页面,则可以使用分支。由于它也提供服务器端条件,因此您基本上使用与上述相同的原理,并将每个用户重定向到他们自己的页面。

If you want to display the same page differently to each user, you'd then use the "Server-side condition" whose type is a function that returns Boolean, e.g.

return f_app_type(:APP_USER) in ('MANAGER', 'ANALYST');

which would render that element (region, item, whatever) only to users who are either managers or analysts, while other users wouldn't see it.


Or, if you wanted to navigate users to different pages, then you could use a branch. As it also offers the Server-side condition, you'd basically use the same principle as above and redirect each user to their own page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文