The Link EndPoints creates a link to somewhere at the menu.
1 Usage of a Link EndPoint
The endPoints of type Link are used to create a direct link to anywhere at the menu level. It's thought to be used to make a direct link to somewhere inside the Axional Frontend
, but it might be used to create a link to anywhere in the net.
Custom pages
The custom Pages (see an example here), can't have a button on their menu, however it is possible to create a LINK button at the menu and attach the desired custom page in order to make them accessible from the menu
2 Examples of link endPoints
For this examples the following SQL queries and transactions have been used:
SQL Query
<select> <columns> <cast type="integer"><rowid table='frontend_doch' /></cast> rowid, frontend_doch.tercer, frontend_doch.cabid, frontend_doch.email, frontend_doch.telef1, frontend_doch.codnac, frontend_doch.codprv, frontend_doch.poblac, frontend_doch.codpos, frontend_doch.direcc, frontend_doch.estado, frontend_doch.imptot, frontend_doch.fecha, (<select> <columns> count(*) </columns> <from table="frontend_docl"> </from> <where> frontend_doch.cabid=frontend_docl.cabid </where> </select> ) <alias name="cantidadarticulos"/> </columns> <from table="frontend_doch"> </from> <where> frontend_doch.tercer = ${USER} AND frontend_doch.estado != "O" AND $0 </where> <order>2</order> </select>
SQL Query
<select> <columns> rowid, * </columns> <from table='frontend_doch'> </from> <where> rowid = ? AND tercer = ${USER} </where> </select>
2.1 Example of a link inside the application
On this first example we will create a link that will send the user directly to the form page to add an order.
To create the link endPoint we will use a List endPoint which allows the user to insert lines. click here to go to the List endPoints example.
appConfiguration.xml
<endPoints> <endPoint type="LINK" title="TITLE_LINK" path="form/orders/add"/> <endPoint type="LIST" title="TITLE_ORDERS" titleSingular="TITLE_ORDER" path="orders"> <dataSQL>frontend_newOrder</dataSQL> <edit> <insert> <dataSQL>frontend_addDoch</dataSQL> <dataTRX>frontend_form_doch</dataTRX> </insert> </edit> </endPoint> </endPoints>

On click at the "Insert Order" button, the page will redirect us directly to the form to realize the insert to the list of orders:

2.2 External link exmaple
External links can be created. The only rule for the external links is that they must start with:
- https://
- http://
appConfiguration.xml
<endPoints> <endPoint type="LINK" title="TITLE_LINK" path="http://deister.net"/> </endPoints>
