Class SavedReportsProvider
Specialized provider for the archive in the Reporter panel. It subclasses the DocumentProvider class, which forms one of the channels in standard Activity archives.
Inheritance
SavedReportsProvider
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("SavedReports", 1073741823)]
public class SavedReportsProvider : DocumentProvider, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Remarks
This provider has the following functionality:
- It uses the standard Filter settings, like the activity archives under Contact and Project
- The 'document' entity is mandatory, not optional as it usually is
- The 'isReport' restriction is automatically added, with the value 'true', so only documents that represent saved reports are shown
Constructors
SavedReportsProvider()
Initialize the provder, and the set the correct Kind parameter on the superclass. make the document entity mandatory.
Declaration
public SavedReportsProvider()
Remarks
This provider has the following functionality:
- It uses the standard Filter settings, like the activity archives under Contact and Project
- The 'document' entity is mandatory, not optional as it usually is
- The 'isReport' restriction is automatically added, with the value 'true', so only documents that represent saved reports are shown
Fields
ProviderName
Specialized provider for the archive in the Reporter panel. It subclasses the DocumentProvider class, which forms one of the channels in standard Activity archives.
Declaration
public const string ProviderName = "SavedReports"
Field Value
Type | Description |
---|---|
string |
Remarks
This provider has the following functionality:
- It uses the standard Filter settings, like the activity archives under Contact and Project
- The 'document' entity is mandatory, not optional as it usually is
- The 'isReport' restriction is automatically added, with the value 'true', so only documents that represent saved reports are shown
Methods
GetRows(string)
Override: Force the 'isReport' restriction to be set before fetching any rows
Declaration
public override IEnumerable<ArchiveRow> GetRows(string options)
Parameters
Type | Name | Description |
---|---|---|
string | options |
Returns
Type | Description |
---|---|
IEnumerable<ArchiveRow> | Document data rows |
Overrides
Remarks
This provider has the following functionality:
- It uses the standard Filter settings, like the activity archives under Contact and Project
- The 'document' entity is mandatory, not optional as it usually is
- The 'isReport' restriction is automatically added, with the value 'true', so only documents that represent saved reports are shown