Skip to main content


class %ZHSLIB.PackageManager.Developer.Extension.PackageManager.UI.LoadNewModule extends %ZHSLIB.PackageManager.Developer.Extension.UI.templatePage, %ZHSLIB.PackageManager.Developer.Extension.PackageManager.UI.fileSelect

This page is opened when user selects Load New Module from Package Manager in Studio When user selects a directory and clicks OK the selected directory is returned to server where it is executed and result shown in Studio's Output area, and this page closed.

Property Inventory

Method Inventory


parameter PAGENAME = LoadNewModule;
Displayed name of this page.


property FileName as %ZEN.Datatype.string (ZENURL = "File");
Original File name passed in (optional)
Property methods: FileNameDisplayToLogical(), FileNameGet(), FileNameIsValid(), FileNameLogicalToDisplay(), FileNameLogicalToOdbc(), FileNameNormalize(), FileNameSet()
property HideFileType as %ZEN.Datatype.boolean (ZENURL = "HideFileType") [ InitialExpression = 1 ];
Property methods: HideFileTypeDisplayToLogical(), HideFileTypeGet(), HideFileTypeIsValid(), HideFileTypeLogicalToDisplay(), HideFileTypeLogicalToOdbc(), HideFileTypeLogicalToXSD(), HideFileTypeNormalize(), HideFileTypeSet(), HideFileTypeXSDToLogical()
property dialogTitle as %ZEN.Datatype.string [ ReadOnly ];
Provide a title for the dialog window. The value is supplied by the %OnGetTitle() method.
Property methods: dialogTitleDisplayToLogical(), dialogTitleGet(), dialogTitleIsValid(), dialogTitleLogicalToDisplay(), dialogTitleLogicalToOdbc(), dialogTitleNormalize()


method %OnAfterCreatePage() as %Status
Inherited description: 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 DirContainsFile(pFile) as %Boolean [ ZenMethod ]
classmethod IsTopLevel(currentDir, newDir) as %Boolean [ ZenMethod ]
This is mainly for Windows. e.g. If you are already on the D:\ drive then don't go up to C:\.
clientmethod changeDrive(thisobj) [ Language = javascript ]
User selected a different directory from "Lookin" drop-down. If FileName is available, add to the newly selected directory.
clientmethod changeFileType() [ Language = javascript ]
This method refreshes the contents with the current file type and directory/file name
clientmethod changeView(viewtype) [ Language = javascript ]
clientmethod itemClicked(viewobj) [ Language = javascript ]
User clicked an item. We put it in the File name field. User can OK it or [Enter] to drill down.
clientmethod itemSelected(viewobj) [ Language = javascript ]
User has selected a new item (double click).
clientmethod loadModule() [ Language = javascript ]
Calls a web socket to perform module load and show output.
clientmethod onloadHandler() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
clientmethod onresizeHandler() [ Language = javascript ]
This client event, if present, is fired when the page is resized.
clientmethod reloadLookin(driveobj, tvalue) [ Language = javascript ]
clientmethod upOneLevel() [ Language = javascript ]
up one level

Inherited Members

Inherited Properties

Inherited Methods