Unable to extract cube view data

ramittal
New Contributor

I am trying to extract a static cube view data but getting an error. The CubeView has all static members except the time dimension |WFTime| but I made it static in my code just to be sure. To begin with I only need the data table.

ramittal_0-1709160646902.png

But I am getting below error

ramittal_1-1709160696895.png

 

4 REPLIES 4

OS_Pizza
Contributor III

Can you post your cube view to see the whole picture.

kenostrovsky
New Contributor II

RobbSalzmann
Valued Contributor

HI @ramittal ,

Your use of XFGetValue is incorrect. 

RobbSalzmann_2-1709232282970.png

The first parameter receives the argument name of the name = value pair that you pass in.  The second parameter is the default value if the value passed in is missing.

RobbSalzmann_0-1709216270961.png

 






ramittal
New Contributor

Actually I had an incorrect parameter causing the issue. I am good now, thanks