Exago Logo
Search
Generic filters
Exact matches only

WebReports.Api.Common

Note

This version of the .NET API documentation is deprecated. A new version can be found at https://www.exagoaccess.com/api-docs/.

ContentMetadata Class

The ContentMetadata class used by Storage Management is documented in the Storage Management: Custom Implementation article.

ReportObjectFactory Class

The ReportObjectFactory class is the entry point to application report object manipulation. This factory manages access to reports via API, updating that report’s schedules when required (rename, delete), and creation of new reports. This class logically sits on top of ReportMgmtBase and ReportScheduler for higher level report management.

Properties

A ReportObjectFactory object has the following properties:

  • Active – The active report object. The active report object is whichever report was most recently created/loaded/deleted/etc.

Methods

A ReportObjectFactory object has the following methods:

ReportObject Create(wrReportType reportType)

DescriptionCreate a new report object, it has yet to be saved into the report repository
RemarksThe created report object is made the active report object on return.

Both the Report class and the DashboardReport class inherit from ReportObject, a cast to the appropriate child class is required for more specific access to the report.

ReportObject LoadFromRepository(string name)

DescriptionLoad an existing report object from the report repository.
RemarksThe loaded report object is made the active report object on return.

Both the Report class and the DashboardReport class inherit from ReportObject, a cast to the appropriate child class is required for more specific access to the report.

void Delete(string name)

DescriptionDelete the provided report from the report repository.
RemarksThe deleted report object is made the active report object on return.

void Delete(ReportObject reportObject)

DescriptionDelete the provided report object the report repository.
RemarksThe deleted report object is made the active report object on return.

void Delete()

DescriptionDelete the currently active report object from the report repository.

void Rename(string name, string newName)

DescriptionRename the provided report in the report repository.
RemarksThe renamed report object is made the active report object on return.

void Rename(ReportObject reportObject, string newName)

DescriptionRename the provided report object in the report repository.
RemarksThe renamed report object is made the active report object on return.

void Rename(string newName)

DescriptionRename the currently active report object in the report repository.

void Copy(string name, string newName)

DescriptionCopy the provided report in the report repository to another location in the report repository.

void Copy(ReportObject reportObject, string newName)

DescriptionCopy the provided report object to another location in the report repository.

void SaveToRepository(ReportObject reportObject)

DescriptionSave the provided report object to the report repository. If it already exists it will be overwritten.

void SaveToApi(ReportObject reportObject)

DescriptionSave the provided report object to an API area which can be accessed by the application once it’s given control via Api.GetUrlParamString

ReportObject Class

The ReportObject class is an abstract class that all report objects derive from. It contains all properties and methods that are common for any type of report within the application.

Properties

A ReportObject object has the following properties:

  • ExportType – This value indicates which format to export the report.

  • IsEditAllowed – Boolean value. If False the report object cannot be edited because the active role does not have access to one or more elements defined in the report object.
  • IsExecuteAllowed – Boolean value. If False the report cannot be executed because the active role does not permit access to one or more Data objects on the report.
Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents