Skip to main content
July 4, 2024

Getting Column Names

  • July 4, 2024
  • 1 reply
  • 0 views

Dear Community,

Is there any possibility to get column names using Cube View Extender rule or XFBR?

Thanks in advance. 

1 reply

July 8, 2024

I think it would depend what you're trying to do with it - there would be no way to do it with an XFBR i dont think. I believe you would have to pass it through as a variable by hard coding it when you call the XFBR. So:

XFBR(RuleName, FunctionName, ColName = [HardcodedColName])

In a cube view extender you can retrieve it like this:

Dim uiItem As CVExtenderReportUIItem = args.Report.CurrentUIItem
If uiitem.UIItemType = XFReportUIItemType.ColHeaderLabel
Dim name As String = uiItem.GetColHeaderName()
End If

But not sure if that would be helpful to you.

Regards,