How To Create a Portal Page with User Friendly URL at Run-Time Just as at Design-Time? (Doc ID 1481279.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.5.0 to 11.1.1.6.0 [Release 11g]
Information in this document applies to any platform.

Goal

Pages created via WebCenter runtime Administration Console do not provide an option to specify the Page ID (only Page Name) unlike when creating them in JDeveloper. The auto generated Page IDs (in Admin. Console) are not human readable and difficult to use in custom programming/linking.

Steps To Reproduce:

  1. Create a simple Webcenter Application in JDeveloper.
  2. Add a new page and/or a sub page to the application.
    Notice, have an option to specify both the Page Name and the Page ID.
  3. Deploy the application to a custom managed server in a Webcenter installation or to the DefaultDomain in the integrated WLS.
  4.  Access the Home page and login as admin user.
  5.  Navigate to the WebCenter Portal Administration Console by clicking on the "Administration" link in the deployed application or using the URL below:
       http://.../<rootContext>/admin
  6. Create a new Page and/or a Sub Page.
    Notice, there is no option to specify the Page ID (as noted in Step 2).

    This poses a problem because the page can be accessed using the Page ID (and not the Page Name) or the Direct URL (from "About page" properties).

    Example:
    Default home page: http://.../portalapp/faces/pages_home
    Direct URL:
    http://.../portalapp/faces/oracle/webcenter/portalapp/pages/home.jspx

    Sub Page in home page:
    http://.../portalapp/faces/pages_home/Page307b33ca_137de34da23__7ffc
    Direct URL:
    http://.../portalapp/faces/oracle/webcenter/portalapp/pagehierarchy/Page3.jspx.

    New page: http://.../portalapp/faces/pages_Page307b33ca_137de34da23__7ffe
    Direct URL:
    http://.../portalapp/faces/oracle/webcenter/portalapp/pagehierarchy/Page2.jspx.


    Should the WebCenter Portal Administration Console provide an option to specify a Page ID just as it does in JDeveloper (consistency), then this alleviates issues where URLs need to used/linked in the application.



 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms