Skip to main content

EnsPortal.Dialog.RecordMapSave

class EnsPortal.Dialog.RecordMapSave extends EnsPortal.Dialog.standardDialog

Dialog to let user generate code based on a RecordMap.

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
parameter DOMAIN = Ensemble;
Domain used for localization.
parameter PAGENAME = Save and Generate RecordMap;
Displayed name of this page.
parameter RESOURCE = %Ens_Code:WRITE,%Ens_RecordMap:WRITE;
User needs WRITE permissions on either the %Ens_Code or the %Ens_RecordMap resource to view this page.

Properties

property msgError as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Object name is required.") ];
Property methods: msgErrorDisplayToLogical(), msgErrorGet(), msgErrorIsValid(), msgErrorLogicalToDisplay(), msgErrorLogicalToOdbc(), msgErrorNormalize(), msgErrorSet()
property objectName as %ZEN.Datatype.string (ZENURL = "OBJECTNAME");
Property methods: objectNameDisplayToLogical(), objectNameGet(), objectNameIsValid(), objectNameLogicalToDisplay(), objectNameLogicalToOdbc(), objectNameNormalize(), objectNameSet()
property recordMap as %ZEN.Datatype.string (ZENURL = "RECORDMAP");
Property methods: recordMapDisplayToLogical(), recordMapGet(), recordMapIsValid(), recordMapLogicalToDisplay(), recordMapLogicalToOdbc(), recordMapNormalize(), recordMapSet()

Methods

method %OnAfterCreatePage() as %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
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 CheckAllBlanks(string) as %Boolean [ ZenMethod ]
classmethod SaveData(RecordMap, ObjectName, Structure, Compile, CompileFlags, Overwrite, ClearStorage As %Boolean = 0) as %String [ ZenMethod ]
Save general association data to server
clientmethod applyDetails() [ Language = javascript ]
clientmethod changedCompile() [ Language = javascript ]
User changed Compile drop-down. Show/hide Compile flags field.
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.
clientmethod writeMsg(msg) [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab