This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %CSP.UI.Portal.Applications.Web

%CSP.UI.Portal.Applications.Web

class %CSP.UI.Portal.Applications.Web extends %CSP.UI.Portal.Applications.EditTemplate

System Management Portal - System Administration - Edit Web Application

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter CSPURL = /csp/sys/sec/%CSP.UI.Portal.Applications.Web.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 EMSSERVICE = Security;
parameter HELPADDRESS = System Administration,Security,Applications,Web Applications;
Inherited description: Each SMP page should set this link which points to the documentation anchor name.
parameter PAGENAME = Edit Web Application;
Displayed name of this page.
parameter PARENTPAGE = /csp/sys/sec/%CSP.UI.Portal.Applications.WebList.zen;
Inherited description: This parameter defines the parent page for this page.
If the name ends in .csp, then the parent is assumed to be an autopage-enabled CSP page.
If the name ends in .cls, then the parent is assumed to be a Zen page.
This is used to automate the construction of the locator bar for this page and to build the index between portal pages and documentation.
The %GetLocatorInfo method is used to get this information.

Properties (Including Private)

property ApplicationType as %Integer [ InitialExpression = $$$AppTypeCSP ];
Property methods: ApplicationTypeDisplayToLogical(), ApplicationTypeGet(), ApplicationTypeIsValid(), ApplicationTypeLogicalToDisplay(), ApplicationTypeNormalize(), ApplicationTypeSet(), ApplicationTypeXSDToLogical()
property IsSysApp as %Boolean [ InitialExpression = 0 ];
Property methods: IsSysAppDisplayToLogical(), IsSysAppGet(), IsSysAppIsValid(), IsSysAppLogicalToDisplay(), IsSysAppLogicalToXSD(), IsSysAppNormalize(), IsSysAppSet(), IsSysAppXSDToLogical()
property OldDefaultApp as %String;
Property methods: OldDefaultAppDisplayToLogical(), OldDefaultAppGet(), OldDefaultAppIsValid(), OldDefaultAppLogicalToDisplay(), OldDefaultAppLogicalToOdbc(), OldDefaultAppNormalize(), OldDefaultAppSet()
property UserChangedPath as %Boolean [ InitialExpression = 0 ];
Property methods: UserChangedPathDisplayToLogical(), UserChangedPathGet(), UserChangedPathIsValid(), UserChangedPathLogicalToDisplay(), UserChangedPathLogicalToXSD(), UserChangedPathNormalize(), UserChangedPathSet(), UserChangedPathXSDToLogical()

Methods (Including Private)

Return the array of links to show in the locator bar.
pLink(n)=$LB(caption,link)
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.
classmethod BuildAutheArray() as %ListOfDataTypes
Build a list of available authentication types
method CopyApp(AppName As %String) as %Status [ ZenMethod ]
method DrawCookiePath(Name As %String) [ ZenMethod ]
method DrawDefaultApp(Nsp As %String) [ ZenMethod ]
classmethod GetDefaultApp(Nsp As %String) as %String [ ZenMethod ]
method GiveRenameWarning(PID As %String, pNamespace As %String) as %Boolean [ ZenMethod ]
Evaluate whether changing the name of this web app will cause Ensemble and DeepSee to become unusable in this namespace based on whether the instance is Ensemble or DeepSee enabled and whether this app is the one with a name matching the namespace name
method IsEnsembleNamespace(pNamespace) as %Boolean [ ZenMethod ]
method PopulateFields(CopyApp As %Boolean, ByRef Properties As %String, AutheArray As %ListOfDataTypes) as %Status
Fill in form fields. Used when loading the page for edit or when choosing a copy from app during creation
classmethod SaveData(pProxy As %ZEN.proxyObject) as %ZEN.proxyObject [ ZenMethod ]
Call server save method.
clientmethod dispatchClassModified(newClass) [ Language = javascript ]
Disable/enable the CSP setting fields if DispatchClass is defined/undefined.
clientmethod doCopyApp(newApp) [ Language = javascript ]
clientmethod doSave() [ Language = javascript ]
clientmethod onloadHandler() [ Language = javascript ]
Set focus to the Name or Description field, disable fields if DispatchClass is defined.
clientmethod pathChanged(newPath) [ Language = javascript ]
If the user enters a path, it will not be overwritten by then choosing a CopyFrom application
clientmethod setSubEnablers() [ Language = javascript ]
clientmethod updateCookiePath(newName) [ Language = javascript ]
When the app name changes, redraw the cookie path options
clientmethod updateDefaultApp(newNS) [ Language = javascript ]
clientmethod validate(proxy) as %Boolean [ Language = javascript ]

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)