Deeplinking to JET Pages

View and Edit Mode

The approach for deeplinking to JET pages is:

Consider the following URL for running the Oracle Health Insurance Value-Based Payments application:

http://[hostName]:[portNumber]/[api-context-root]/capitation**":

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

  • ojr=view-edit-capitationcontracts represents that the UI is on the capitation contracts page. The entity name appends after view-edit-. It is usually the entity’s plural name. Other values can be from view-edit-adjustmentschedules.

  • op =view represents the view-edit page of a particular Capitation contract.

  • id =1 where 1 is the id of the current record. With the create page, id won’t be part of the URL.

http://[hostName]:[portNumber]/[api-context-root]/capitation/?ojr=view-edit-capitationcontracts;id=1;op=view

Once the URL string constructs, it needs to be UTF-8 encoded. The encoded URL can be useful as a deeplink.

Encoded URL
http://[hostName]:[portNumber]/[api-context-root]/capitation/?ojr=view-edit-capitationcontracts%3Bid%3D1%3Bop%3Dview

Create Mode

In case of creating a record, the URL is:

Decoded URL
http://[hostName]:[portNumber]/[api-context-root]/capitation/?ojr=create-capitationcontracts;op=create
Encoded URL
http://[hostName]:[portNumber]/[api-context-root]/capitation/?ojr=create-capitationcontracts%3Bop%3Dcreate
  • ojr=create-capitationcontracts represents the create page. Append the entity name after create-. It is usually an entity’s plural name.

  • op = create represents the create page of a Capitation contract.

Exceptions

Policy Page

Policy pages use GID instead of ID. The decoded URL for the view and edit Policy page in JET is:

Encoded URL
http://[hostName]:[portNumber]/[api-context-root]/policiesjs/?
ojr=view-edit-policies%3BdetailFloorplanCode%3D%3Bgid%3D79ca54d6-36ba-4478-b3a3-423a4e01f12a%3BisChild%3Dfalse%3BisEdit%3Dfalse%3Bop%3Dview%3Bversion%3D2
Decoded URL
http://[hostName]:[portNumber]/[api-context-root]/policiesjs/?
ojr=view-edit-policies;detailFloorplanCode=;gid=79ca54d6-36ba-4478-b3a3-423a4e01f12a;isChild=false;isEdit=false;op=view;version=2