oracle 调用另一个应用程序中的页面的顶点按钮

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8277483/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 00:28:07  来源:igfitidea点击:

apex button to call a page in another application

oracleoracle-apexpermalinks

提问by jaykio77

I have a workspace with which I have 5 applications based on same schema. Now I want to have a main page from where I could call main pages of all these applications. I used this syntax to call home page in another application but to no avail

我有一个工作区,其中有 5 个基于相同架构的应用程序。现在我想要一个主页,我可以在那里调用所有这些应用程序的主页。我使用此语法在另一个应用程序中调用主页但无济于事

f?p=4000:4150:&APP_SESSION.

Where 4000:4150are the values for the application and the page I want to display.

4000:4150应用程序和我要显示的页面的值在哪里。

Please let me know where am I making mistake.

请让我知道我哪里出错了。

回答by Tom

You put the URL in the URL Target field of for example a button. action when button clicked

您将 URL 放在例如按钮的 URL 目标字段中。 单击按钮时的动作

Or in a href field: <a href="f?p=39957:1:&APP_SESSION.">link to page 1 in other app</a>

或者在 href 字段中: <a href="f?p=39957:1:&APP_SESSION.">link to page 1 in other app</a>

However, note that you will need to authenticate each time you change application. Even though they're using the same authentication scheme, doesn't mean that the authentication stays valid between the apps. When you take note, you'll see the session ids changing.

但是,请注意,每次更改应用程序时都需要进行身份验证。即使它们使用相同的身份验证方案,也不意味着身份验证在应用程序之间保持有效。当您记下时,您会看到会话 ID 发生变化。

It is possible to share the authentication though, so you users will only have to log in once. Go to the authentication scheme of an application, and change the cookie name in the session cookie attributes. Do this in each application you wish to share the session with. edit auth schemesession cookie attributes

虽然可以共享身份验证,因此您的用户只需登录一次。转到应用程序的身份验证方案,并更改会话 cookie 属性中的 cookie 名称。在您希望与之共享会话的每个应用程序中执行此操作编辑授权方案会话 cookie 属性

It seems that your app id and page id look a lot like developer links for your pages. You can't share a session like that though. It might even be your issue: if you want to link the user to the page for an application, use the correct ids, and not the developer ids.

您的应用程序 ID 和页面 ID 看起来很像您页面的开发人员链接。但是,您不能共享这样的会话。这甚至可能是您的问题:如果您想将用户链接到应用程序的页面,请使用正确的 ID,而不是开发人员 ID。