Skip to main content
Member
May 19, 2026 7:48 PM UTC
Solved

Accessing Cube View Name from within CV Extender

When I am in a Cube View Extender BR, how can I access the name of the cube view itself? Not the Title, Page Caption, etc., but the actual name of the Cube View.

Thank you!

btr200Answer
Member
May 20, 2026 1:39 PM UTC

After searching the community again, I was able to find this discussed/answered previously:

https://community.onestream.com/topic/show?tid=2828&fid=8

Dim cvName As String = args.Report.CubeViewGrid.Name

Thank you!

3 replies

Member
May 19, 2026 11:31 PM UTC

Inside a Cube View Extender, the args parameter is a CVExtenderArgs object. It exposes the underlying cube view metadata via the args.CubeView property - that object is the stored cube view definition, so its .Name is the actual cube view name.

string cvName = args.CubeView.Name;
BRApi.ErrorLog.LogMessage(si, $"Cube View Name: {cvName}");
Dim cvName As String = args.CubeView.Name
BRApi.ErrorLog.LogMessage(si, "Cube View Name: " & cvName)

Hope this helps!

 

btr200Author
Member
May 20, 2026 12:57 PM UTC

Did you test this? I'm on version 9.0.3 and "Name" is not a member of 'CubeView'.

Thank you!

 

btr200AuthorAnswer
Member
May 20, 2026 1:39 PM UTC

After searching the community again, I was able to find this discussed/answered previously:

https://community.onestream.com/topic/show?tid=2828&fid=8

Dim cvName As String = args.Report.CubeViewGrid.Name

Thank you!