Skip to main content
Version: 7.0

Package: Report about Installation

The module creates a report about all installed packages in a client. The report will be stored in the structured documentation of an object.

Designation

Name
pm.ReportInstallation
Aliases
ReportInstallation

Configuration

Object for structured documentation (structured-docu)
If given the information are stored in the structured documentation of the object
Connection (structured-docu-connection)
if given the object for the structured documentation is used in the given connectionMögliche Werte: <TabItem b4A Verbindungen>
Name of structured documentation (structured-docu-name)
Defines the name of the tab of the structured documentation that should be used. If empty the first one is chosen.
empty structured documentation first (structured-docu-reset)
if set the structured documentation of the object is emptied first
XML Variable (xml-variable)
name of the XML variable object used to store the information
Key (xml-variable-key)
key in the XML variable object to use
XML Variable Source Connection (xml-variable-source)
If given it defines an alternative b4A connection where to find the variable objectMögliche Werte: <TabItem b4A Verbindungen>

Description

The following information is provided for each installed package:

  • Package name
  • Version number
  • Time of creation of the release
  • Time of installation
  • Dependency definition

Output format XML-Vatriable

The report on the installed b4A packages looks like the XML document in the following example. As an alternative to this module, the Package-Index can also be used.

<?xml version="1.0" encoding="UTF-8"?>
<best4Automic version="4.4.0">
<pm>
<packages>
<package name="BBC.AE_UTILS" version="1.0.0">
<metadata key="Built On" value="2021-01-11 13:27:11"/>
<metadata key="Installed On" value="2021-01-27 09:56:56"/>
<metadata key="Initialized On" value="2020-09-07 16:02:20"/>
<metadata key="Version" value="1.0.0"/>
<metadata key="Dependencies" value="BBC.SHARED ~= 1.0.0"/>
</package>
<package name="BBC.FILEOPS" version="1.0.0">
<metadata key="Built On" value="2020-10-06 08:37:23"/>
<metadata key="Installed On" value="2021-01-27 09:56:57"/>
<metadata key="Initialized On" value="2019-09-11 12:37:19"/>
<metadata key="Version" value="1.0.0"/>
<metadata key="Dependencies" value="BBC.SHARED ~= 1.0.0"/>
</package>
</packages>
</pm>
</best4Automic>

Example to get the Built On timestamp from the b4A package BBC.FILEOPS.

    /best4Automic/pm/packages/package[@name="BBC.FILEOPS"]/metadata[@key="Built On"]/@value