%DeepSee.UI.Dialog.DashboardSave
Class %DeepSee.UI.Dialog.DashboardSave Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]
This dialog lets the user save a DeepSee Dashboard definition.
Parameters
APPLYBUTTON
Parameter APPLYBUTTON = 0;
Properties
createNew
Property createNew As %ZEN.Datatype.boolean(ZENURL = "NEW");
True if this is a "create new".
saveAs
Property saveAs As %ZEN.Datatype.boolean(ZENURL = "SAVEAS");
True if this is a "save as".
dashboardDescription
Property dashboardDescription As %ZEN.Datatype.string(MAXLEN = 32000, ZENURL = "DESC");
Pivot description.
dashboardKeywords
Property dashboardKeywords As %ZEN.Datatype.string(MAXLEN = 32000, ZENURL = "WORDS");
Pivot keywords.
dashboardName
Property dashboardName As %ZEN.Datatype.string(ZENURL = "DASHBOARD");
Dashboard name.
dashboardTitle
Property dashboardTitle As %ZEN.Datatype.string(ZENURL = "TITLE");
Dashboard title.
dashboardOwner
Property dashboardOwner As %ZEN.Datatype.string(ZENURL = "OWNER");
Dashboard owner.
dashboardResource
Property dashboardResource As %ZEN.Datatype.string(ZENURL = "RESOURCE");
Dashboard resource.
dashboardCategory
Property dashboardCategory As %ZEN.Datatype.string(ZENURL = "CATEGORY");
Dashboard category
dashboardPublic
Property dashboardPublic As %ZEN.Datatype.boolean(ZENURL = "PUBLIC") [ InitialExpression = 1 ];
Dashboard public state.
dashboardSnapTo
Property dashboardSnapTo As %ZEN.Datatype.boolean(ZENURL = "SNAPTO") [ InitialExpression = 1 ];
Dashboard snapTo.
dashboardSnapGrid
Property dashboardSnapGrid As %ZEN.Datatype.boolean(ZENURL = "SNAPGRID") [ InitialExpression = 0 ];
Dashboard snapGrid.
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
DashboardExists
ClassMethod DashboardExists(pName As %String) As %Integer [ ZenMethod ]
Test if the given dashboard already exists.
CanWriteToFolder
ClassMethod CanWriteToFolder(pFolderName As %String) As %Integer [ ZenMethod ]
Test if the user can write to the given folder.