Class ReportEngine
- Namespace
- PolarStudio
- Assembly
- PolarStudio.dll
This class is the engine that creates the reporting html and interfaces with the user's web session
public class ReportEngine : XMLparent
- Inheritance
-
ReportEngine
- Inherited Members
- Extension Methods
Fields
AllowAccessToOtherDatabases
Gets/sets if the reports can access data in other databases.
public bool AllowAccessToOtherDatabases
Field Value
Properties
AdminGroupPIDs
Gets/sets the PID's of the groups that are allowed to edit the reports.
public string AdminGroupPIDs { get; set; }
Property Value
AllowedProtectedKeywords
Gets/sets a string of special SQL keywords in square brackets that are allowed in the query.
public string AllowedProtectedKeywords { get; set; }
Property Value
Categories
Returns the categories.
public XMLcollection<ReportEngine, ReportCategory> Categories { get; }
Property Value
Connections
Returns the custom connections.
public XMLcollection<ReportEngine, ReportConnection> Connections { get; }
Property Value
ExpandableReportCategories
Gets/sets a boolean indicating the categories can be explanded/closed.
public bool ExpandableReportCategories { get; set; }
Property Value
Parameters
Returns the parameters
public XMLcollection<ReportEngine, ReportParameter> Parameters { get; }
Property Value
Reports
Returns the reports
public XMLcollection<ReportEngine, Report> Reports { get; }
Property Value
ShowCategoriesAsTabSheets
Gets/sets a boolean indicating categories are shown as tab sheets.
public bool ShowCategoriesAsTabSheets { get; set; }
Property Value
StorageQuery
Gets/sets the query that is used for storing the xml data. Must return one field. Can also be a file name in the file system.
public string StorageQuery { get; }
Property Value
XML
Gets the full XML for the reports.
public string XML { get; }
Property Value
Methods
Initialize(BudaApplication, string, string)
Initializes the engine.
public string Initialize(BudaApplication pApplication, string pStorageQuery = "", string pAdminGroupPIDs = "")
Parameters
pApplication
BudaApplicationThe application to initialize the engine for.
pStorageQuery
stringThe query or xml file name to use for storing the xml.
pAdminGroupPIDs
stringThe PID's of the groups that are allowed to edit the reports.
Returns
- string
An empty string