Skip to main content


class %CSP.UI.Portal.OpDatabases extends %CSP.UI.Portal.Utils

System Management Portal - System Operations - Local Databases

Property Inventory

Method Inventory


parameter AUTONS = 0;
Do not switch namespace for this page: it needs to stay in %SYS
parameter CSPURL = /csp/sys/op/%CSP.UI.Portal.OpDatabases.zen;
Inherited description: This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
parameter HELPADDRESS = Home,Databases;
Inherited description: Each SMP page should set this link which points to the documentation anchor name.
parameter PAGENAME = Operation Local Databases;
Displayed name of this page.
parameter RESOURCE = %Admin_Operate;
Security requirement


property FreespacesOn as %String (ZENURL = "FreespacesOn");
Property methods: FreespacesOnDisplayToLogical(), FreespacesOnGet(), FreespacesOnIsValid(), FreespacesOnLogicalToDisplay(), FreespacesOnLogicalToOdbc(), FreespacesOnNormalize(), FreespacesOnSet()
property colDismount as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Dismount") ];
Store translated targetCol linkCaption for
Property methods: colDismountDisplayToLogical(), colDismountGet(), colDismountIsValid(), colDismountLogicalToDisplay(), colDismountLogicalToOdbc(), colDismountNormalize(), colDismountSet()
property colMount as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Mount") ];
Property methods: colMountDisplayToLogical(), colMountGet(), colMountIsValid(), colMountLogicalToDisplay(), colMountLogicalToOdbc(), colMountNormalize(), colMountSet()
property msgDismount as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Are you sure you want to dismount database %1?") ];
Property methods: msgDismountDisplayToLogical(), msgDismountGet(), msgDismountIsValid(), msgDismountLogicalToDisplay(), msgDismountLogicalToOdbc(), msgDismountNormalize(), msgDismountSet()


Return the array of links to show in the locator bar.
method %OnAfterCreatePage() as %Status
Inherited description: Be sure to do ##super() when overriding.
method %OnGetPageName() as %String
Get the (localized) name of the page. This should be implemented in a subclass.
method DrawDB(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String) as %Status
User override of cell-display for tablePane.
method OnDrawRibbon() as %Status
This is called in the middle of rendering the tool ribbon. Subclasses can inject their own content into the ribbon by writing it out in this method. This content should be wrapped within a td element.
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status
Get information to display in the ribbon bar.
classmethod SaveFreespaceOn(pValue As %String) [ ZenMethod ]
Save user's freespace selection value
clientmethod doFreespaceSwitch() [ Language = javascript ]
Method to execute the query and show/hide the table according to user selected view type: General and Free space.
This method is invoked when the page is first loaded, and when user click to change view.
clientmethod doIntegrity() [ Language = javascript ]
clientmethod doLog() [ Language = javascript ]
clientmethod doSelectRow(option) [ Language = javascript ]
allow to open details page when clicking on a row anywhere.
clientmethod filterChanged(value) [ Language = javascript ]
User entered something in to the filter. Re-load the table with filter value.
clientmethod onloadHandler() [ Language = javascript ]
You may turn freespaces switch on (e.g. from EnsembleMonitor) on page opening Otherwise it is off as default.
clientmethod updateView() [ Language = javascript ]
Update / Reload table. This overrides the one in Portal.Utils.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab