Skip to main content

%CSP.Portal.ResourceDialog

class %CSP.Portal.ResourceDialog extends %CSP.Portal.standardDialog

Resource Assign dialog used by Management Portal Home Page.

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
Inherited description: If true, then this dialog displays an Apply button.
parameter AUTONS = 1;
If true, auto-switch namespace to whatever $NAMESPACE is passed in.
parameter RESOURCE = %Admin_Secure:USE;
User must have USE permissions on %Admin_Secure to access this popup.

Properties

property CurrentResource as %ZEN.Datatype.string;
Property methods: CurrentResourceDisplayToLogical(), CurrentResourceGet(), CurrentResourceIsValid(), CurrentResourceLogicalToDisplay(), CurrentResourceLogicalToOdbc(), CurrentResourceNormalize(), CurrentResourceSet()
property isError as %ZEN.Datatype.boolean;
Property to hold an error message
Property methods: isErrorDisplayToLogical(), isErrorGet(), isErrorIsValid(), isErrorLogicalToDisplay(), isErrorLogicalToOdbc(), isErrorLogicalToXSD(), isErrorNormalize(), isErrorSet(), isErrorXSDToLogical()
property pageID as %ZEN.Datatype.string;
Canonical class name of page we are assigning a resource to.
Property methods: pageIDDisplayToLogical(), pageIDGet(), pageIDIsValid(), pageIDLogicalToDisplay(), pageIDLogicalToOdbc(), pageIDNormalize(), pageIDSet()
Link to page we are assigning a resource to.
Property methods: pageLinkDisplayToLogical(), pageLinkGet(), pageLinkIsValid(), pageLinkLogicalToDisplay(), pageLinkLogicalToOdbc(), pageLinkNormalize(), pageLinkSet()
property pageName as %ZEN.Datatype.string (ZENURL = "NAME");
Name of page we are assigning a resource to.
Property methods: pageNameDisplayToLogical(), pageNameGet(), pageNameIsValid(), pageNameLogicalToDisplay(), pageNameLogicalToOdbc(), pageNameNormalize(), pageNameSet()

Methods

method %OnAfterCreatePage() as %Status
Inherited description: Be sure to do ##super() when overriding.
method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
method DrawHelp(pSeed As %String) as %Status
Draw help text.
classmethod SetResource(pPageLink As %String, pResource As %String) as %String [ ZenMethod ]
Set the resource name.
clientmethod getDialogValue() [ Language = javascript ]
Inherited description: Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
clientmethod ondialogFinish(action) as %Boolean [ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab