This is an old revision of the document!


How to add action links to a module

We have three types of possible actions on the detail view screen. The DETAILVIEWBASIC option will add a link to the right action panel, at the same level as the normal existing links. The DETAILVIEW option will add the link inside a “More Actions” drop down menu. This is useful when we have many options.

Finally the DETAILVIEWWIDGET option will permit us to add a small widget within which we will be able to execute some actions. Very useful to add functionality to the module.

Three other types of links exist that will permit us to insert CSS (HEADERCSS), javascript (HEADERSCRIPT) and a global drop down menu (HEADERLINK) with actions on the upper right button bar. See the next section for more information.

LinktypeDescription
LISTVIEWBASICButton on the list view
LISTVIEWDrop down menu on the list view
DETAILVIEWDrop down menu on the right action panel in detail view
DETAILVIEWBASICLink on the right action panel in detail view
DETAILVIEWWIDGETSmall widget block section at the bottom of the right action panel on detail view. Look at the Timecontrol stopwatch for an example.
HEADERSCRIPTThe link will be treated as a javascript type and will be imported in the head section of the HTML output page as <script type='text/javascript' src='linkurl'></script>
HEADERCSSThe link will be treated as a CSS type and will be imported in the head section of the HTML output page as <link rel='stylesheet' type='text/css' href='linkurl>
HEADERLINKYou can see these link grouped under More on the top header panel. Useful if you want to provide utitlity tools like Bookmarklet etc.

coreBOS Documentación