Every endPoint is associated with an application code. The application loaded is defined in the config.xml file by its code. To define them, the menu can be found in:
Business logic / SQL catalogue / Endpoints
The endPoints are defined by its type. When creating a new endPoint, the user must select between the types provided (List, Map, Chart, PDF, Menu, Form, Custom, Custom row view). Each type will render a different component.
To clarify every endPoint configuration parameter, let's explain them individually. Not every parameter have to be defined. It will depend on the endPoint type
Define the code of the parent application. This endPoint will be loaded only if the application with this code is running.
This option allow the user to not display the endPoint in the left-side menu bar. Even not displaying the endPoint as a menu option, this will be accessible via the defined path.
By this option, the user defines the type of view rendered. The options available are:
- Custom row view
The first six components will render predefined components. The data used to display each component is defined in the Catalogued SQL field
Custom views allow the user to define a non-predefined view. The field Custom view is used to define de view to be displayed.
This is a required field. The label code defined must be defined in the wic (wic_jdic_lbldata) and will be displayed as a title.
Code from the SQL Statement which will be executed to get data to use in the view. This code must be defined in the SQL Statements table (wic_sqlc_object)
Views such as Forms could do some transactions in the database. Here the user can define the code of the SQL Transaction defined in wic_sqlc_trx_ins_head table
Endpoints can be displayed under role conditions. If a role is defined here, the endPoint will be displayed only if the user has this role.
As said before, Custom type endPoints need to have a Custom view defined. This view must be defined in the main.js file as a vue.js component in the source files application. As the other views, this custom views will receive, if defined, the data from the Catalogued SQL code.