%CSP.UI.System.Utils

class %CSP.UI.System.Utils extends %Library.RegisteredObject

Utility methods used by SMP - mostly by background jobs called from %CSP.UI.System.BackgroundTask.

Method Inventory

Parameters

parameter DOMAIN = %Utility;
Default Localization Domain

Methods

classmethod Compile(ByRef pParms As %String, ByRef tItems As %String) as %Status [ Language = objectscript ]
Method to Compile in the background (copied from %CSP.UI.System.CompilePane)
classmethod DeleteLocalUpload(FileName As %String) [ Language = objectscript ]
This method will delete the temporary file used when importing data from a file on the user's local machine. It will only delete files from the system Temp directory.
classmethod Export(FileName As %String, ExportFormat As %String, ByRef pParms As %String, ByRef tItems As %String) as %Status [ Language = objectscript ]
Method to Export in the background
classmethod Import(FileName As %String, ByRef pParms As %String, ByRef tItems As %String) as %Status [ Language = objectscript ]
Method to Import in the background
classmethod LogMsg(ErrMsg As %String = "", Status As %String = "ERROR") [ Language = objectscript ]
Log error into ^|"%SYS"|IRIS.Temp.MgtPortalTask($J,"Status") and ^|"%SYS"|IRIS.Temp.MgtPortalTask($J,"Details")

Inherited Members

Inherited Methods

Feedback