%DeepSee.UI.Dialog.SendMail
Class %DeepSee.UI.Dialog.SendMail Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]
This dialog lets the user send a dashboard via email.
Parameters
APPLYBUTTON
Parameter APPLYBUTTON = 0;
Properties
dashboardName
Property dashboardName As %ZEN.Datatype.string(ZENURL = "DASHBOARD");
Dashboard name.
dashboardTitle
Property dashboardTitle As %ZEN.Datatype.string(ZENURL = "TITLE");
Dashboard title.
dashboardURL
Property dashboardURL As %ZEN.Datatype.string(ZENURL = "URL");
Dashboard URL
XDatas
Style
XData Style
dialogBody
XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]
Contents of the dialog body.
Methods
%OnGetTitle
Method %OnGetTitle() As %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
%OnGetSubtitle
Method %OnGetSubtitle() As %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
getDialogValue
ClientMethod getDialogValue() [ Language = javascript ]
ondialogFinish
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.
ondialogStart
ClientMethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
DrawHelp
ClassMethod DrawHelp(pSeed As %String) As %Status
SendMailViaSMTP
ClassMethod SendMailViaSMTP(pSendTo As %String, pSubject As %String, pComments As %String, pURL As %String) As %String [ ZenMethod ]
Send an email message using the system-defined SMTP server.
%RegisterSendTo
ClassMethod %RegisterSendTo(pSendTo As %String) As %Status
Remember this sendTo address in local list.
ClearHistory
ClassMethod ClearHistory() [ ZenMethod ]
Clear the sendTo history for the current user.