Skip to content

GET_ALL_APPMODEL_IDS ​

The command GET_ALL_APPMODEL_IDS returns a list of all appmodels.

Syntax ​

leo-grammar
CC "Core" GET_ALL_APPMODEL_IDS

#--> RESULT appmodelids:idlist
CC "Core" GET_ALL_APPMODEL_IDS

#--> RESULT appmodelids:idlist

Parameters ​

none

Returns ​

  • appmodelids (strValue) - a list with all model versions

Details ​

You can get more informations about the appmodel with the command GET_APPMODEL_INFO

See Also ​

GET_APPMODEL_INFO

Examples ​

asc
SET sAppModels:("All Application Models:\n\n")
CC "Core" GET_ALL_APPMODEL_IDS
FOR appModelId in:(appmodelids)
{
  CC "Core" GET_APPMODEL_INFO appmodelid:(VAL appModelId)
  IF (onversions)
  {
    SET sAppModels:(sAppModels + appmodelname + "\n")
  }
}
CC "AdoScript" INFOBOX (sAppModels)
SET sAppModels:("All Application Models:\n\n")
CC "Core" GET_ALL_APPMODEL_IDS
FOR appModelId in:(appmodelids)
{
  CC "Core" GET_APPMODEL_INFO appmodelid:(VAL appModelId)
  IF (onversions)
  {
    SET sAppModels:(sAppModels + appmodelname + "\n")
  }
}
CC "AdoScript" INFOBOX (sAppModels)

Displays all version specific application models in a infobox.
(Replace "onversions" with "onthreads" to get all thread specific application models)

Versions and Changes ​

Available since ADOxx 1.3