I've tried to use it as follows, but am getting an error stating the "variable viewmdxget is not recognized":
Code: Select all
MyViewMDX = ViewMDXGet('MyCube', 'MyView');
Code: Select all
ViewMDXGet('MyCube', 'MyView');
Code: Select all
MyViewMDX = ViewMDXGet('MyCube', 'MyView');
Code: Select all
ViewMDXGet('MyCube', 'MyView');
Then this functionality is too new for your environment.
Thanks a lot for valuable info lotsaram.lotsaram wrote: ↑Thu Oct 04, 2018 12:31 pm Traditional MDX views saved as .vue files (created by user in architect or with TI ViewCreate function) aren't MDX based and wil of course return blank string for MDX value.
This function will only return MDX string for views created in Workspace or other rest API based client like Arc or created with TI function ViewCreateByMDX. These views are stored as .vbx files on the server.
Using the sister function ViewMDXSet you cannot convert a traditional view to MDX view BTW.
Hi Wim,Wim Gielis wrote: ↑Sun Oct 07, 2018 10:10 am No. You would have to create a traditional view based on the MDX that you get with ViewMDXGet.
It's *.xbv