Forum Discussion

RobbSalzmann's avatar
RobbSalzmann
Valued Contributor II
10 months ago

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

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?

  • 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.

  • 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! 🙂

  • ChristianW's avatar
    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's avatar
    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! 🙂

  • RobbSalzmann's avatar
    RobbSalzmann
    Valued Contributor II

    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.