close

資料來源:Symplik

 

 

How to do that
Assuming the original login page is

http(s)://[APPL_TOP Server]:[port]/OA_HTML/AppsLocalLogin.jsp
For simplicity, this URL is represented by
[Apps URL]/OA_HTML/AppsLocalLogin.jsp
To goto the Apps Home Page (i.e. Navigator Page) without entering the username and password, you can use the URL:
[Apps URL]/OA_HTML/fndvald.jsp?username=[login name]&password=[password]
If you want to create another Login Page rather than using the the one provided by Oracle, you can include this HTML code in your page:
<form method="post" action="[Apps URL]/OA_HTML/fndvald.jsp">
  <input type="text" name="username" value=""/>
  <input type="password" name="password" value=""/>
  <input type="submit" name="login" value="submit" />
</form>

To launch any Form or OA Framework Page using direct URL, you must obtain the Form or page URL from the Navigator Page, as shown in here:


Move your cursor to the the link, right click, and select "Copy Shortcut"
For Forms, the shortcut looks like (this is the OM Sales Order Form):

javascript:launchForm('[Apps URL]/OA_HTML/RF.jsp?function_id=5522&resp_id=50349&resp_appl_id=660&security_group_id=0&lang_code=US&oas=129LdJJoQltOPAQwtQlOFQ..')
Just take the javascript function parameter, remove the last query string parameter, and it will look like:
[Apps URL]/OA_HTML/RF.jsp?function_id=5522&resp_id=50349&resp_appl_id=660&security_group_id=0&lang_code=US
For OA Framework Pages, copy the shortcut and it looks like (this is the Workflow Notification Page):
[Apps URL]/OA_HTML/RF.jsp?function_id=2043&resp_id=50349&resp_appl_id=660&security_group_id=0&lang_code=US&params=HjNYXS4MZviS3zdx5xBFd7eSJJ8O3MKDbqmDsTMdo7E&oas=FQvfEQgSdW25KedN-Jstpw..
Again, remove the last query string parameter and it will look like:
[Apps URL]/OA_HTML/RF.jsp?function_id=2043&resp_id=50349&resp_appl_id=660&security_group_id=0&lang_code=US

Next, you need to URLEncode this URL string, like using this page to do it:
[Apps URL]%2fOA_HTML%2fRF.jsp%3ffunction_id%3d2043%26resp_id%3d50349
%26resp_appl_id%3d660%26security_group_id%3d0%26lang_code%3dUS

Finally, the Direct URL for launching a Form or page will be:
[apps URL]/OA_HTML/fndvald.jsp?username=[username]&password=[password]&requestUrl=[urlencoded URL string]
arrow
arrow
    全站熱搜

    Somebaby 發表在 痞客邦 留言(0) 人氣()