Forum Discussion

RobbSalzmann's avatar
RobbSalzmann
Valued Contributor II
2 years ago

How to get the Name of a Cube View in Cube View Extender Rule?

Based on the XML, it looks like I need a reference to the OneStream.Shared.Wcf.CubeViewItem object that contains the CubeView.  The CubeView object doesn't seem to have a property for it's Name.

Does anyone know how to get the name of the Cube View currently calling a Cube View Extender from within the extender rule?

 

 

  • JackLacava's avatar
    JackLacava
    Honored Contributor

    Inside a CVExtender? I guess args.Report.CubeViewGrid.Name ...?

    • RobbSalzmann's avatar
      RobbSalzmann
      Valued Contributor II

      Jack, your response is the question I'm asking.  I've looked at every property for every object contained by the passed in CVExtenderArgs.  There is no "args.report.cubeview.Name" property.  

      • JackLacava's avatar
        JackLacava
        Honored Contributor

        CubeViewGrid...

        Works for me in 7.4.