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:
-
_ojCoreRouter=view-edit-capitationcontracts
represents that the UI is 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 theview-edit
page of a particular Capitation contract. -
id =1
where1
is theid
of the current record. With thecreate
page,id
won’t be part of the URL.
http://[hostName]:[portNumber]/[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://[hostName]:[portNumber]/[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://[hostName]:[portNumber]/[api-context-root]/capitation/?_ojCoreRouter=create-capitationcontracts;op=create
Encoded URL:
http://[hostName]:[portNumber]/[api-context-root]/capitation/?_ojCoreRouter=create-capitationcontracts%3Bop%3Dcreate
-
_ojCoreRouter=create-capitationcontracts
represents thecreate
page. Append the entity name aftercreate-
. It is usually an entity’s plural name. -
op = create
represents thecreate
page of a Capitation contract.