Scripts for composite applications
The Portal Scripting Interface includes scripts for retrieving composite application metadata and for managing application lifecycle. The composite application scripts provide an alternative to using the Application Template Library and the Applications catalog for the tasks that the scripts support. The scripts for composite applications are $Application, $ArchivedApplication, $ApplicationCatalog, $Restorepoint, and $TemplateCatalog.
Application
$Application listall categoriesLists all application categories
$Application listall applicationsLists all active applications by their globally unique identifiers (GUIDs)
$Application listall applications categoryis categoryIDLists all active applications within the specified category
$Application details applicationIDRetrieves the details of an application
$Application nlsget applicationID title localeRetrieves the title of an application in the specified language
$Application getattribute applicationID attribute_nameRetrieves the values of the following application attributes:
$Application backup applicationID
categoryReturns the ID of the category to which the application belongs
lastaccesseddateReturns the date on which the application was last used, in the format YYYYMMDDHHMMSS
lastmodifieddateReturns the date on which the application was last modified, in the format YYYYMMDDHHMMSS
ownerReturns the display name of the application owner
sizeReturns the size of the application
Backs up an application
$Application archive applicationIDArchives an application
$Application delete applicationIDDeletes an application
ArchivedApplication
$ArchivedApplication restore applicationID applicationrestorepointIDRestores an archived application from the specified restore point
$ArchivedApplication delete applicationID applicationrestorepointis applicationrestorepointIDDeletes a single restore point of an application
$ArchivedApplication delete applicationIDDeletes all restore points associated with an application
$ArchivedApplication listall categoriesLists all archived application categories
$ArchivedApplication listall archivedapplicationsLists all archived applications by their globally unique identifiers (GUIDs)
$ArchivedApplication listall archivedapplications categoryiscategoryIDLists all archived applications within a particular category
$ArchivedApplication details applicationIDRetrieves the details of an archived application
$ArchivedApplication nlsget applicationID title localeRetrieves the title of an archived application in a particular language
$ArchivedApplication listapplicationrestorepoints applicationIDRetrieves a list of strings that represent the restore points for the archived application
$ArchivedApplication getattribute archivedapplication applicationIDYou can retrieve the values of the following application attributes:
categoryReturns the ID of the category to which the archived application belongs
ApplicationCatalog
$ApplicationCatalog deletecategory empty_categoryDeletes unused or obsolete application categories. Categories to be deleted must not contain any applications.
Restorepoint
$Restorepoint getattribute restorepointid restorepointID attribute_nameYou can retrieve the values of the following application attributes:
stateReturns the state of the backup date represented by the application restore point
creatorReturns the DN of the creator of the backup represented by the application restore point
createdReturns the backup date represented by the application restore point, in the format YYYYMMDDHHMMSS.
TemplateCatalog
$TemplateCatalog deletecategory empty_categoryDeletes unused or obsolete template categories. Categories to be deleted must not contain any templates.
Parent
Use scripts for composite applications