UltraGX UltraGX manual Download PDF

Documenting a KB

Documenting a Knowledge Base means running the pipeline on it: the Run pipeline tab reads the KB, analyses it and writes the complete documentation into a sub-folder of the output folder.

Run pipeline tab
Run pipeline tab

1. Choosing the source

SourceWhat you choose in InputWhen to use it
xpz — XPZ / XML export (GeneXus 7.5 to 18)an .xpz or .xml fileThe general case. It works for any version and on any operating system. The GeneXus version is detected automatically
gxtext — text export folder (src/ + ref/)the folder that contains src/ and ref/If you already have a GeneXus 17 or 18 text export
live — open the KB with the GeneXus installed on this machine (connector)the KB folder (the one that contains the .gxw)Windows with GeneXus X Evolution 1 to 18 installed. Nothing needs to be exported by hand
mcp — raw JSON dumps foldera folder of JSON dumpsInternal use and support; normally not used

Below the selector, the application explains each source. If the live option appears disabled (needs the connector and a GeneXus installation), the machine has no GeneXus or you are using a copy without the connector.

How to get an XPZ

In the GeneXus IDE: Knowledge Manager → Export, select all the objects of the KB and export to an .xpz file. In old versions (7.5, 8, 9) the equivalent path is Knowledge Manager → Distribute. Include everything: the more complete the export, the better the references, the data model and the clusters.

Tips:

Live source and GeneXus version

With live, UltraGX opens the KB with the installed GeneXus, exports it to text inside the project folder (_source_text/) and then runs the pipeline. In GeneXus version for the live KB leave auto (from the KB): the connector picks the installation that matches the version the KB was saved with. If you have several installations of the same version (for example two upgrades of GeneXus 18), you can force one.

Before running with live:

2. Project name and language

3. Running

Click Run. The log below shows progress by stage:

Log of a run
Log of a run

To avoid flooding the screen, the log writes at most one line per second per stage. If a line repeats with the same object for a while, the engine is still working on a large object: it has not hung.

When it finishes successfully, the status changes to done, the project appears in Projects and opens automatically in the Viewer. If the run fails, the status says finished with status error and the log shows the reason (see Troubleshooting).

Reference times

KBSourceApproximate time
700 objectsXPZless than a minute
5,000 objectsXPZ or text exportfrom a few minutes to half an hour
5,000 objectslivethe export (an hour or more) plus the pipeline

Times depend on the disk and on the size of each object's code. With the demo, a brief check with the licence service is added.

Recent inputs

Recent inputs keeps the last fifteen inputs used. Click one to load it into Input again.

Opening an XPZ with a double click

If you ticked Open GeneXus exports (.xpz) with UltraGX during installation, double-clicking an .xpz opens the application on Run pipeline with the xpz source and the file already loaded: you only need to check the project name and the language, and click Run.