You are here:
VersionInfo
The VersionInfo class fetches the version information of different components. You can only use it from the UI thread.
Required Editions
| Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled. |
This class contains these APIs.
-
getVersionsAsync()
-
getApplicationRuntimeVersion()
-
getGeneratorVersion()
-
getModelerClientVersion()
-
getModelerWebServiceVersion()
-
getPackageCreationDate()
You can view the version information in the About dialog, which you can open by tapping the About button in the offline mobile app.
Update Content in the About Dialog
To update the latest content that you want to show in the About dialog, open the required
Locale contract. For example, en. Update the text of desired label that’s available in the
Framework section. To refresh the locale, run sf modeler workspace
refreshLocale. Build and deploy the package.
- getVersionsAsync()
Gets the version information of the software components. - getModelerWebServiceVersion()
Gets the web service version details of Consumer Goods Cloud Modeler. - getPackageCreationDate()
Gets the package creation date. - getApplicationRuntimeVersion()
Gets the application runtime version details. This matches the MUP installed on the used Modeler environment. - getGeneratorVersion()
Gets the version details of Code Generator that is used to build the run-time artifacts. - getModelerClientVersion()
Gets the client version details of Consumer Goods Cloud Modeler. - isAutomatedTest()
The function returns a boolean. The function returns false if the attribute isn’t found or has an invalid value.

