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://<host>:<port>/[api-context-root]/capitation**":
The next step is to construct the metadata. The JET URL requires the following information:
-
_ojCoreRouter=view-edit-capitationcontracts
represents that you are on the capitation contracts page. The entity name appends afterview-edit-
. It is usually the entity’s plural name. Other values can be fromview-edit-adjustmentschedules
. -
op =view
represents we are on theview-edit
page of a particular Capitation contract. -
id =1
where1
is theid
of the current record that we are looking at. With thecreate
page,id
won’t be part of the URL.
http://<host>:<port>/[api-context-root]/capitation/?_ojCoreRouter=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://<host>:<port>/[api-context-root]/capitation/?_ojCoreRouter=view-edit-capitationcontracts%3Bid%3D1%3Bop%3Dview
Create Mode
In case of creating a record, the URL will be:
Decoded URL:
http://<host>:<port>/[api-context-root]/capitation/?_ojCoreRouter=create-capitationcontracts;op=create
Encoded URL:
http://<host>:<port>/[api-context-root]/capitation/?_ojCoreRouter=create-capitationcontracts%3Bop%3Dcreate
-
_ojCoreRouter=create-capitationcontracts
represents that we are on acreate
page. You can append the entity name aftercreate-
. It is usually an entity’s plural name. -
op = create
represents that we are on thecreate
page of a Capitation contract.