Class Reference
%DeepSee.UI.MDXPDF
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%DeepSee] >  [UI] >  [MDXPDF]
Private  Storage

class %DeepSee.UI.MDXPDF extends %ZEN.Report.reportPage

Execute an MDX query and render it to PDF by using the Zen reports infrastructure. The encrypted query to process is passed in via the URL parameter MDX.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 20


Summary

This is a Zen Report class. 

Properties
%ArrayLogFiles %SplitReturnedPDFs %display %id
%seriesCount %seriesNames %source AggregatesIgnoreNLS
CheckPDFNotZeroLength ConnectTimeOut CountRepeatingElement Datasource
DefaultFontFaceCopyHTML DefaultFontSizeCopyHTML ExcelServer ExcelServerTimeOut
FileLifeTime MainReport Mode NamespaceDeclarations
OldBehaviorLineFeedOnBreak OptionCachePath OptionConserve OptionDPI
OptionEnableAccessibility OptionFlush OptionLang OptionNoAccessContent
OptionNoAnnotations OptionNoAssembleDoc OptionNoComplexScript OptionNoCopy
OptionNoEdit OptionNoFillInForms OptionNoPrint OptionNoPrintHq
OptionOwnerPassword OptionPDFProfile OptionRelaxed OptionUserPassword
PDFMergeMemSize PS PrintServer PrintTimeOut
RenderDirectlyOnTimeout RenderTimeOut RepeatingElement ReportDir
ReportXMLNameSpace ReportXMLNameSpacePrefix SaxMemSize SetProcessWideRunTimeMode
SplitAndMerge SplitDir SplitOnly SplitRootName
StripPI SubReport SuppressExcelHeaders TableAltColor
TimeOut TooLongText UseHTML5 UseRawIOForXML
UseSemaphore XsltVersion getxmlstylesheet isHTML5
isServer toexcelstream tohtmlstream toxslfostream
xmlfile xmlstream xmlstylesheet xmlstylesheetarg

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %CreateModelInstance %DeleteModel
%DispatchClassMethod %DispatchGetModified %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DisplayAnnotatedExcel
%EscapeHTML %Extends %FetchNoncedParmData
%FormatNumber %GetComponentById %GetContext
%GetJSValidationCode %GetParameter %GetPropertyInfo
%InitProperties1 %InvokeAction %IsA
%IsModified %IsReadOnly %MakeTransformedXMLFile
%New %NormalizeObject %ObjectModified
%OnAfterCreateDisplay %OnAfterReport %OnBeforeReport
%OnCopyDataFromModel %OnCopyDataToModel %OnDeleteModel
%OnDeleteSource %OnGetPropertyInfo %OnInvokeAction
%OnLoadModel %OnNewSource %OnOpenSource
%OnPreHTTP %OnReportTag %OnSaveSource
%OnStoreModel %OnSubmit %OpenModel
%OriginalNamespace %PackageName %ParseStyle
%RemoveFromSaveSet %ResolveText %SaveModel
%SerializeObject %SetModified %SubmitHandler
%ValidateObject %WriteXMLForKPI %WriteXMLForListing
%WriteXMLForMDX %WriteXMLForPivot %WriteXMLMessage
%getDisplayUniqueExcelSheetName %getUniqueExcelSheetName AsynchGenerateReport
ConvertParameter Decrypt Encrypt
EscapeHTML EscapeURL GenerateReport
GenerateReportToStream GenerateToFile GetFilterText
GetTableData GetTempFileName HyperEventCall
HyperEventHead Include InsertHiddenField
InsertHiddenFields IsPrivate Link
OnAfterCreateDisplay OnHTTPHeader OnPage
OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page
Purge QuoteJS RewriteURL
ShowError StartTimer StopTimer
TestPDFGeneration ThrowError ToExcelDate
UnLock UnescapeHTML UnescapeURL


Parameters

• parameter DEFAULTMODE = "pdf";
• parameter DOMAIN = "%DeepSee";
Localization domain. DataModel classes that wish to support localization must provide a value for this within subclasses.

Methods

• classmethod %EscapeHTML(pValue As %String) as %String
Format a string value for HTML output. This means escaping UNICODE characters.
• classmethod %FetchNoncedParmData(pDataLabel As %String, pDefault As %String = "", Output pStatus As %Status) as %String
This provides a means of fetching a nonced value from the key provided in an incoming request parameter. The pDataLabel is the named reference to the URL parameter which is expectd to be available in the available %request data. Once fetched from the nonce global, the value is cached locally for continued availability via this method using the same nonce key in the %request data.
• classmethod %FormatNumber(pValue As %String, pFormat As %String = "") as %String
Format a value for output.
• classmethod %GetContext(Output pContext, Output pParms)
Fill in the context array from the current URL parameters. Also fill in the parameter array used to resolve expression references in %ParseExpr.
• classmethod %OnPreHTTP() as %Boolean
Test for additional resources.
• classmethod %ParseStyle(pStyle As %String, Output pCSS As %String)
Parse a CSS style directive.
• classmethod %WriteXMLForKPI(ByRef pContext, ByRef pParms, pKPI As %String) as %Status
Write out KPI results as XML for PDF.
• classmethod %WriteXMLForListing(ByRef pContext, ByRef pParms, pRS As %SQL.StatementResult, pCaption As %String = "", pListingFields As %List = "") as %Status
Write out listing results as XML for PDF
• classmethod %WriteXMLForMDX(ByRef pContext, ByRef pParms, pMDX As %String) as %Status
Write out the contents of an MDX query in a way that can be consumed by a Zen report. pMDX is the query.
• classmethod %WriteXMLForPivot(ByRef pContext, ByRef pParms, pRS As %DeepSee.ResultSet, pCaption As %String = "") as %Status
Write out result set as XML for PDF.
• classmethod %WriteXMLMessage(pTitle As %String, pMessage As %String)
Create a simplified XML report for displaying an error message.
• classmethod GetFilterText(ByRef pContainer As %ZEN.Report.Display.div, ByRef pParms As %String, ByRef pContext As %String, pIncludeFilterText As %Boolean = 0)
• classmethod GetTableData()
Get the data, as xml, for the current query.
• classmethod OnAfterCreateDisplay()
Update the Report Display
• classmethod OnPage() as %Status
Render the contents of this ZEN report.


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