Creating URL links for Sage X3 functions in visual processes

The visual process editor is a component that can be used:

You can define most links in the visual process editor using a specific link type in the link dialog opened from an element's toolbar, but you can also create links by using the URL link type. You need to follow some rules to create the relevant URL according to the type of link you want to generate. This document explains how to code these URL links.

Links to X3 functions (class and representation mode)

Examples

Links to administration functions

Examples

Links to X3 queries

The URL is formatted as follows:

{$baseUrl}/QUERY('query_code')?representation=QUERY~query_code~level.$facet

With QUERY~query_code~level being the break level used to define the columns that appear. The facet is $query.

Additional parameters can be added with syntax &parameter=value. The level is usually 1, meaning it displays the first level of grouping. The level where the data is read is &level=x. It might be different from the level used to define the columns to display.

&displayLineNum=true and &forcedExecution=true are examples of parameters that can be used.

If ~level is omitted in the QUERY~query_code~level syntax, the graph does not display. &cube=false must be added to the request URL to have a flat mode for statistics. It can be useful if you want to export all the lines to Excel.

Refer to this page to see all the options.

Example

Links to X3 statistics

The URL is formatted as follows:

{$baseUrl}/STATS('stat_code')?representation=STATS~stat_code.$facet

With STATS~stat_code being the code of the statistic defined by stat_code. The facet is $cube.

Additional parameters can be added with syntax &parameter=value.

Refer to this page to see all the options.

Example

Links to other visual process pages

The URL is formatted as follows:

{$baseUrl}/PROCESS('PROCESS_CODE')?representation=PROCESS~PROCESS_CODE.$facet

With $facet being the facet ($details). If the process code depends on the legislation, PROCESS_CODE can be PROCESS_CODE~LEGISLATION_CODE.

Examples

Links to classic pages

Links to classic page functions can also be defined using a URL. In this case, the syntax is the following:

Examples