Skip to main content

%iKnow.UI.Dialog.addDomain

class %iKnow.UI.Dialog.addDomain extends %CSP.UI.Portal.Dialog.WizardTemplate

This dialog lets the user Add a new iKnow domain or configuration definition.

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
Inherited description: If true, then this dialog displays an Apply button.
parameter AUTONS = 1;
Inherited description: If $NAMESPACE is set, auto switch namespace
parameter DOMAIN = %iKnow;
Inherited description: Localization domain
parameter HELPID;
DOCBOOK Topic Id that offers help for this page.
parameter RESOURCE = %Development;
Security requirement

Properties

property mode as %ZEN.Datatype.string (ZENURL = "MODE") [ InitialExpression = "domain" ];
Property methods: modeDisplayToLogical(), modeGet(), modeIsValid(), modeLogicalToDisplay(), modeLogicalToOdbc(), modeNormalize(), modeSet()
property msgDomain as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a Domain name.") ];
use this to indicate adding a domain or configuration
Property methods: msgDomainDisplayToLogical(), msgDomainGet(), msgDomainIsValid(), msgDomainLogicalToDisplay(), msgDomainLogicalToOdbc(), msgDomainNormalize(), msgDomainSet()
property msgDomainDef as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a Domain Definition name.") ];
use this to indicate adding a domain or configuration
Property methods: msgDomainDefDisplayToLogical(), msgDomainDefGet(), msgDomainDefIsValid(), msgDomainDefLogicalToDisplay(), msgDomainDefLogicalToOdbc(), msgDomainDefNormalize(), msgDomainDefSet()

Methods

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.
classmethod SaveDomain(pDomainDefName, pDomainName, pDisabled, pAllowCustomUpdate) as %String [ ZenMethod ]
method ValidateDomainDefName(pName As %String = "") as %Status [ ZenMethod ]
method ValidateDomainName(pName As %String = "") as %String [ ZenMethod ]
clientmethod changeType() [ Language = javascript ]
Show definition based on type
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 onChangeDomainName(name) [ Language = javascript ]
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.
clientmethod onloadHandler() [ Language = javascript ]
Save a configuration. This client event, if present, is fired when the page is loaded.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab