SAP Knowledge Base Article - Public

2917831 - ER - How to obtain the data source column name for a Dynamic Parameter's "Description" (CR4VS)

Symptom

In our application, we have a requirement to programmatically retrieve the details for all parameters in a given Crystal Report document.  Part of this requirement is to return a dynamic report parameter's field value and description .  To do this, we enumerate the ReportDocument.ReportClientDocument.DataDefController.DataDefinition.ParameterFields object.  We are able to get the data source field for the Value (via the ParameterFieldDefinition.Attributes["FieldID"]), but have not found a way at all to find the field used for the Description .

Environment

Crystal Reports, developer for Visual Studio

Reproducing the Issue

Enhancement Request, no API available

Resolution

R&D has agreed to add an API to get the field value from the report.

  • Note: Dynamic parameter queries are saved in the Repository in BOE Systems. The API's to access them are only available in CR for VS InProc RAS server.
  • Note: ER's are low in the priority list but will try to get this into SP 28 ( scheduled for Jult 2020 release - not confirmed )

Keywords

Enhancement, ER, crforvs, Dynamic parameter Description field value , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio