IAnalyticReporting.GetImageOfFieldsForDataSource (String, ref Boolean) Method
Function GetImageOfFieldsForDataSource( _
ByVal qdvFldConfigFilePath As String, _
ByRef groupsAreCollapsed As Boolean _
) As List(Of FieldForQdvFldConfigFile)
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.
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.
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
Available since QDV 7.13.0001.