Skip to Main Content
ARIS - SHARE YOUR IDEAS
How can we make ARIS better?
Status Open for voting
Created by Armin Nosbuesch
Created on Mar 22, 2022

Report API Extension: getArchivedModels() of a change list

As of today, the models of a change list cannot be identified via the Report API.

Currently this circumstance spreads again and again additional efforts and error sources in the current projects.

We assume that it is only a "small extension" to provide the models of a change list, since this is already visible in the Architect interface, but missing in the ARIS report API.

Note: The models of a change list can be identified via macro, but the model GUID cannot be read out via the macro in order to further process the information via report. The model path is language-dependent and does not offer 100% security to identify the right model by report.

Here the requirement concretely:

Example 1:

// define context database

var oDatabase = ArisData.getSelectedDatabases()[0];

var oVersioning = Context.getComponent("Versioning");

// determine all change lists of the database

var aChangelistInfos = oVersioning.getChangelistInfos(oDatabase);

// this methode is missing, return the models of this change list (readOnly)

var aModelsOfOneChangeList = aChangelistInfos[0].getModels();

Example 2:

// Logging on to the database with fixed change list e.g. change list 5

var oDBVersion = ArisData.openDatabaseVersion(p_sDatabaseName, p_nVersionID, p_bReadOnly );

// this methode is missing, return the models of this change list (readOnly)

var aModelsOfOneChangeList = oDBVersion.getArchivedModels();


Brainstorm ID 9694
Created on Brainstorm 12/20/2021 03:12 AM