Izenda Logo

About

Provides an override to the process that obtains a report full name including category based on the report ID.

C# Exmple

public override string GetReportNameById(string id)
{
    Dictionary<string, string> nameToIdDict = new Dictionary<string, string>();
    LoadReportNames(nameToIdDict);
    return nameToIdDict.ContainsKey(id) ? nameToIdDict[id] : null;
}

VB.NET

Public Overrides Function GetReportNameById(id As String) As String
    Dim nameToIdDict As New Dictionary(Of String, String)
    LoadReportNames(nameToIdDict)
    Return If(nameToIdDict.ContainsKey(id), nameToIdDict(id), Nothing)
End Function