Creating Links for Sage X3 Functions in Visual Processes

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

You can also create links to other functions (administration functions, classes and representations, queries, and statistic pages) by using the URL link. However, you need to follow some rules to create the relevant URL according to the type of link you want to create.

This document explains how to code these links.

Links to X3 functions (class and representation mode)

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 "~1" is omitted in the "representation=QUERY~MYREQ~1" 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.

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.

Links to other process pages

When the key is not specified, 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".

Links to administration functions

Note: Keys are always UUIDs for administration functions. If you want to create such links, you have to go to the page, copy the URL from your browser, and paste the portion of the URL that starts with "/stdata". If you have direct access to some pages, you can also add option "&where=(property like 'xxx')", where xxx is a pattern that usually includes % as a wildcard. Make sure you escape % by writing it "%25".

Example:/sdata/syracuse/collaboration/syracuse/menuItems?representation=menuItem.$query&where=(statName like 'VEN%25') displays the list of menu items associated with a statistical code starting with "VEN".

Links to "classic" pages

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

Examples