Which Param is used by a CV if two params of the same name exist in different workspaces? Version 7

RobbSalzmann
Valued Contributor

I have a Cube View that uses a parameter 'pm_EntityList' in the POV to let the user select an entity.
Its possible that the same parameter can exist in both workspaces.

In my case, the parameter is defined in both the default workspace and a workspace named 'CustomerWorkspace'.

If I specify |!pm_EntityList!| in the entity POV for my Cube View, which parameter will the cube view look at?

Taken a step further, lets say there are two Named Workspaces with the same parameter.  Now which one is evaluated?

2 ACCEPTED SOLUTIONS

RobbSalzmann
Valued Contributor

Turns out the Default dashboard wins in the case of Default and Named.
in the case of two named workspaces, its the workspace that got created first that seems to win.

I vetted this out by adding the workspace name to the comment the user sees.  That way I could see which parameter was being used.

View solution in original post

NicolasArgente
Valued Contributor

@RobbSalzmann can you try that. Default starts with letter D. So make a workspace and dashboard starting with letter A and try it. I think i remember that it picks up the first one in alphabetical order. But good to double check! 🙂

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.

View solution in original post

3 REPLIES 3

RobbSalzmann
Valued Contributor

Turns out the Default dashboard wins in the case of Default and Named.
in the case of two named workspaces, its the workspace that got created first that seems to win.

I vetted this out by adding the workspace name to the comment the user sees.  That way I could see which parameter was being used.

ChristianW
Valued Contributor

It depends, where you launch the request from, if it is a cubeview stored in a workspace, it first trys to find the parameter in its own workspace.

All classically stored cubeviews are located in the Default workspace. 

NicolasArgente
Valued Contributor

@RobbSalzmann can you try that. Default starts with letter D. So make a workspace and dashboard starting with letter A and try it. I think i remember that it picks up the first one in alphabetical order. But good to double check! 🙂

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.