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-capitationcontractsrepresents 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 =viewrepresents we are on theview-editpage of a particular Capitation contract. -
id =1where1is theidof the current record that we are looking at. With thecreatepage,idwon’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-capitationcontractsrepresents that we are on acreatepage. You can append the entity name aftercreate-. It is usually an entity’s plural name. -
op = createrepresents that we are on thecreatepage of a Capitation contract.