The Ecx.Web service from AppBase is responsible for displaying application pages. You can use this service to display pages in other client applications, or to open a page directly in the browser without the standard AppBase shell.
Formulate a URL to a page
The basic structure of the URL is:
{server}/Ecx.Web/do/{page-API-Code}?appid={application-API-Code}d={domain}&{parameter1}={value1}&{parameter2}={value2}&{additional parameters}
The parameters in that URL are:
Parameter | Description |
---|---|
page-API-Code | The API Permanent ID of the page you want to show To get: Application Studio -> Presentations -> Pages. Click on a blue link of the page and find the API Permanent ID |
application-API-Code | The API Permanent ID of the application menu that contains this page |
domain | The ID of the runtime environment to which the solution is deployed To get: System Setup -> Enviornments. Click on the blue link of the environment to where this page is deployed. |
parameter1, parameter2 | These are the input parameters of the rule you are executing. |
An example of a direct URL
https://cloud.appbase.com/Ecx.Web/do/root_INC_CaseSearch?appid=root_INC_Case_Administration&d=DCM_Incident_Template_Production.tenant53&RecordId=1&SomeOtherParam=TestTest
Quick way to get the URL
Application pages are placed inside of iFrame when being displayed to the user. In Google Chrome, you can right click on the page and get the URL:
When clicked, will open a new tab in the browser with the direct URL to the page:
Security Considerations
The Ecx.Web is a stateful service which uses information from a cookie to grant you access to the page you are trying to open. Once you've logged in using the standard AppBase login page, you can formulate the URLs and see the pages.