Deeplinking to JET Pages

View and Edit Mode

The approach for deep linking to JET pages is :

Consider the URL below for Oracle Health Insurance Capitation application running on

**http://hostName:portNumber/capitation**":

The next step is to construct the metadata. JET URL requires the following infomration

  • "_ojCoreRouter=view-edit-capitationcontracts" represents that we are in Capitation Contracts page. Entity name gets appended after ‘view-edit-‘. It is generally entity plural name. Other values can be view-edit-adjustmentschedules.

  • "op =view " represents we are in view-edit page of a particular Capitation Contract,

  • "id =1" where 1 is the "id" of the current record that we are looking at. In case of 'create' page id won’t be part of the URL.

http://hostName:portNumber/capitation/?_ojCoreRouter=view-edit-capitationcontracts;id=1;op=view

Once the URL string gets constructed, it should be UTF-8 encoded. Encoded URL then can be used as a deeplink.

Encoded URL:

http://hostName:portNumber/capitation/?_ojCoreRouter=view-edit-capitationcontracts%3Bid%3D1%3Bop%3Dview

Create Mode

In case of creating a new record, URL will be: Decoded URL: http://hostName:portNumber/capitation/?_ojCoreRouter=create-capitationcontracts;op=create

  • "_ojCoreRouter=create-capitationcontracts " represents that we are in we are in create page. Entity name gets appended after ‘create-‘. It is generally entity plural name.

  • "op = create " we are in create page of a Capitation Contract.

Exceptions

Policy page

Policy pages uses git instead of id. The decoded URL for view and edit policy page in jet is as follows

http://hostName:portNumber/ policiesjs/?_ojCoreRouter=view-edit-policies;gid=79ca54d6-36ba-4478-b3a3-423a4e01f12a