IAnalyticReporting.GetImageOfFieldsForDataSource (String, ref Boolean, ref Boolean, ref Boolean) Method

Reads the data from a .QDVFldConfig file.
Function GetImageOfFieldsForDataSource( _ 
ByVal qdvFldConfigFilePath As String, _ 
ByRef groupsAreCollapsed As Boolean, _ 
ByRef includeOverheadMinute As Boolean, _ 
ByRef includeDatabaseOfEstimate As Boolean
) As List(Of FieldForQdvFldConfigFile)
This language is not supported or no code example is available.
List<FieldForQdvFldConfigFile> GetImageOfFieldsForDataSource( 
string qdvFldConfigFilePath
ref bool groupsAreCollapsed
ref bool includeOverheadMinute
ref bool includeDatabaseOfEstimate 
)
This language is not supported or no code example is available.

Parameters

qdvFldConfigFilePath
string

groupsAreCollapsed
bool

Will return true when groups must be collapsed, otherwise will return false.

includeOverheadMinute
bool

Will return true when the data from the overhead minute will be included at the bottom of the data source (if the estimate contains an overhead minute).

includeDatabaseOfEstimate
bool

Will return true when the data from the database of the estimate will be included at the bottom of the data source (if the estimate contains a database of the estimate).

Return Value

List<FieldForQdvFldConfigFile>

A list of FieldForQdvFldConfigFile objects, where each item represents whether a WBS field, a minutes (detailed) field, a global variable or a sheet of the overhead whose named ranges are to be pushed to the data-source.

Remarks
 
For historical reasons and for backward compatibility with old macros, this methods doesn't throw exceptions when an error is encountered. Instead, it sets a global error message. This allows to report just one (first) error. These global error messages are automatically displayed by QDV after a macro has finished.

You can read this error info programmatically. You can get it from IQdvEnvironment.GlobalErrors property. In macros, it's accessible from the Context parameter:

 Context.QdvManager.Environment.GlobalErrors					
Version
 
Available since QDV 7.23.1069.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition