The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
ResmiKR
1 year agoNew Contributor III
Getting Column Names
Dear Community,
Is there any possibility to get column names using Cube View Extender rule or XFBR?
Thanks in advance.
1 Reply
- KarlT
OneStream Employee
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 IfBut not sure if that would be helpful to you.
Regards,
Related Content
- 2 years ago