Skip to main content

%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
Method to Compile in the background (copied from %CSP.UI.System.CompilePane)
classmethod DeleteLocalUpload(FileName As %String)
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
Method to Export in the background
classmethod Import(FileName As %String, ByRef pParms As %String, ByRef tItems As %String) as %Status
Method to Import in the background
classmethod LogMsg(ErrMsg As %String = "", Status As %String = "ERROR")
Log error into ^|"%SYS"|IRIS.Temp.MgtPortalTask($J,"Status") and ^|"%SYS"|IRIS.Temp.MgtPortalTask($J,"Details")

Inherited Members

Inherited Methods

FeedbackOpens in a new tab