Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [EnsPortal] >  [Dialog] >  [ProductionItemSettings]
Private  Storage   

class EnsPortal.Dialog.ProductionItemSettings extends EnsPortal.Dialog.standardDialog

This page allows the user to see the default values for specific settings and selectively reset them.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 4 15


Summary

This is a Zen Page class. It belongs to the application EnsPortal.Application.

Properties
%condition %import %includeFiles %page
%resource FirstFailed InvalidParam IsEMSReadOnly
ItemName NoOfResetableSettings ProductionName ValidationErrorMsg
align aux backgroundTimerInterval canEdit
cellAlign cellSize cellStyle cellVAlign
children closeOnEnter closeOnEsc composite
containerStyle cssLevel dialogTitle disabled
disabledStyle dragAndDrop dragEnabled dropEnabled
enclosingClass enclosingStyle error groupClass
groupStyle hasButtons height hidden
hideApplyButton hideCancelButton hideOKButton hint
hintClass hintStyle id index
keepAliveInterval label labelClass labelDisabledClass
labelPosition labelStyle layout msgNotPermitted
name onafterdrag onbeforedrag onclick
ondrag ondrop onhide onrefresh
onshow onupdate parent readOnly
showLabel slice studioMode title
tuple useSVG useSoftModals valign
visible width window zenPersistentPopup

Methods
%AddCSPShareHyperevents %AddChild %AddChildAfter %AddChildBefore
%AddComponent %AddEnsExceptionHandler %AddImportedComponents %AddToSaveSet
%ApplyURLParms %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML
%DrawHTML %DrawHTMLPage %DrawJSStrings %DrawObjectDefinitions
%DrawTitle %EnclosingDivId %EndBackgroundMethod %EndScript
%Eval %EvalC %Extends %ForceClientRender
%GetChildIndex %GetComponent %GetComponentById %GetComponentByName
%GetEventHandlers %GetLinks %GetPageName %GetParameter
%GetValueById %GetValueByName %GetXMLName %IsA
%IsModified %Link %LinkCSS %LinkScript
%MakeId %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnAfterCreatePage %OnBeforeCreatePage
%OnCreateApplication %OnCreatePage %OnDetermineCSSLevel %OnDrawEnclosingDiv
%OnDrawHTMLBody %OnDrawHTMLHead %OnDrawHTMLMeta %OnDrawObjectProperties
%OnFinishBackgroundTask %OnGetPageName %OnGetSubtitle %OnGetTitle
%OnMonitorBackgroundTask %OnMutateChildren %OnObjectSynch %OnPreHTTP
%OnSubmit %OnUseSoftModals %OnZENDeserialize %OriginalNamespace
%PackageName %QuoteValue %QuoteValueL10N %RemoveChild
%RemoveChildren %RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod
%Self %SerializeObject %SetBackgroundMethodStatus %SetErrorById
%SetErrorByName %SetModified %SetValueById %SetValueByName
%SetValuesByName %StartScript %ValidateObject %ZENVersion
ConvertParameter Decrypt DrawFooter DrawHeader
DrawRow DrawTable Encrypt EscapeHTML
EscapeURL EvalResult GetHyperEventResources HyperEventCall
HyperEventHead Include InsertHiddenField InsertHiddenFields
IsPrivate JavaInstalled Link OnHTTPHeader
OnPage OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RewriteURL ShowError SimpleKeepAlive StartTimer
StateTrack StopTimer ThereAreModifications ThrowError
UnescapeHTML UnescapeURL XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType addChild addChildAfter
addChildBefore addPopupSuffix adjustSize btnApply
btnOK cancelPopup checkEdit childrenMutated
clientKeepAlive closeThisWindow correctIELayering createComponent
createComponentNS ctrlKeyDown deleteComponent dialogApply
dialogCancel dialogFinish dialogTitleGet disableButtons
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler endModal exposeComponent
findElement fireOnResizeEvent fireOnUnloadEvent fireOnUpdateEvent
firePopupAction getChildIndex getComponent getComponentById
getDialogValue getEnclosingDiv getHidden getHintElement
getLabelElement getOpener getProperty getSettings
getType gotoPage inResizeLoop initPopupSuffix
invokeSuper isOfType launchPopupWindow makeId
onCreate onDelete onDisplayHandler onEndModalHandler
onPopupAction onRefreshContents onSerialize onServerMethodCall
onServerMethodError onServerMethodReturn onStartModalHandler ondialogCancel
ondialogFinish ondialogStart ondisabledHandler onhandleAutoLogoutWarn
onkeydownHandler onkeyupHandler onlayoutHandler onloadHandler
onlogoutHandler onoverlayHandler onresizeHandler onunloadHandler
onupdateHandler popupActionHandler refreshContents removeChild
removePopupSuffix render renderContents renderSVG
resetMsg setComponentId setHidden setOverlayMode
setProperty setPropertyAll setToDefault setTraceOption
showMsg startKeepAlive startModal startProgressBar
stopKeepAlive stopProgressBar validateRequired


Parameters

• parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
• parameter CANCELBUTTON = 1;
If true, then this dialog displays a Cancel button.
• parameter OKBUTTON = 0;
• parameter PAGENAME = "Production Specific Settings";
Displayed name of this page.
• parameter RESOURCE = "%Ens_ProductionConfig:READ";
User needs READ permissions on the %Ens_ProductionConfig resource to view this page.

Properties

• property ItemName as %String(ZENURL="ITEMNAME");
Item Name
• property NoOfResetableSettings as %Integer [ InitialExpression = 0 ];
Number of settings that are eligible to be reset
• property ProductionName as %String(ZENURL="PRODUCTION");
Production Name
• property readOnly as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, user cannot modify the production in parent page

Methods

• method %OnGetPageName() as %String
Get the (localized) name of the page.
• 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 page.
• method DrawFooter(pSeed As %String) as %Status
• method DrawHeader(pSeed As %String) as %Status
Draw messages at the top of the popup and initialize variable to track changes.
• method DrawRow(name As %String, ByRef lblLocal As %String)
Draw a row for a setting.
• method DrawTable(pSeed As %String) as %Status
Display table based on settings for the Production or item. $LB(Target,Value,ValueType,Default,DefaultType) (WAS: $lb(Target,Name,Value,ValueType,Default,DefaultType,Description,Type,MAXLEN,MINVAL,MAXVAL,VALUELIST,DISPLAYLIST,IsRequired)) ValueType tells you where this Value is coming from: $$$eConfigSettingValueTypeProperty: this value is from class definition property default; $$$eConfigSettingValueTypeSystem: this value is from the default settings; $$$eConfigSettingValueTypeProduction: this value is from Production definition. $$$eConfigSettingValueTypeRegistry: this value is from Registry DefaultType is similar to ValueType, it is the ValueType of the Default property: $$$eConfigSettingValueTypeProperty: this default value is from class definition property default; $$$eConfigSettingValueTypeSystem: this default value is from the default settings. pSeed = 0 is the initial load; pSeed = 1 is reset. Black means it's defined in the Production; Blue means it's coming from default settings; Green means it's coming from class definition.
• classmethod StateTrack(pChecked As %Boolean, pName As %String) as %Boolean [ ZenMethod ]
Set session info to keep track of changes made here.
• classmethod ThereAreModifications() as %Boolean [ ZenMethod ]
Return a value indicating if the user has modified any of the settings in this window.
• method closeThisWindow() [ Language = javascript ]
Close the dialog popup; the modifications are passed back via session data.
• method getDialogValue() [ Language = javascript ]
Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
• method ondialogFinish(action) as %Boolean [ Language = javascript ]
This callback is called when the user presses the OK button. If this returns false, then the action is canceled.
• method ondialogStart() [ Language = javascript ]
Handle where Production Configuration page marked production as read and only/can't edit
• method onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
• method setToDefault(name, isMod) [ Language = javascript ]
Handle check/uncheck of a setting.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.