@Buttons as pager

Please suggest he how to use button/procedure as pager/selector ?

 

Input: I have 10 button/ 10 procedure how can I use it as pager.

 

output: user should get an option to select 10 button ,like sliding 10 options. can select any among 10 buttons.

Answers

  • Previous Member
    edited March 2020

    Could you specify which kind of pagers do you want?

    do you want the user to select among 10 members of the same entity ? of distinct entities ? Could you give more details and examples ?

     

    If you want the user to be able to select 10 members of the same entity A, you could do it in a dataview, using the master option

    1. Set entity A by row
    2. Set a dummy cube structured by A in the first block and hide it
    3. activate the master option image If you don't know how, follow this link.

    The master option apply a dynamic selection on all screen objects. The selection applied is the member of the entity A in front of which the yellow master symbol is placed while the user clicks on it.

  • Hi

    for me also the request is not so clear.

    .. what do you mean "10 buttons / 10 procedure" ? This sounds not "optimal" to me.. maybe the model is not optimized for the requirements?

    Multiple selections can be achieved in many ways, e.g. using interactive selection on data view, or master option, as suggested by interested typ

    Presets in multiple entities may be achieved through flag cubes to be set in a 1st screen, then running a procedure that jump in the second screen and applies a dynamic selection.

    hope this helps

  • Helmut Heimann
    Helmut Heimann Employee, Community Captain
    50 Answers 500 Comments 250 Likes Fourth Anniversary
    edited March 2020

    Hi ABHIJAT SINGH,

     

    you could use the solution suggested by interested typ, or use the trigger function of a pager:

     

    image

    Since the pager will only select just one member of your entity (comparable to the master function, if the "no all"-option is ticked), your procedure could check the selected entry and work accordingly.

    You'd need a cube for selecting the entity-members here as well as in the solution suggested by interested typ and Daniele Di Lorenzo.

    For more information on this, please refer to our help page: Procedure Trigger on Pager .

     

    Kind regards,

    Helmut

  • Pietro Di Cino
    Pietro Di Cino Customer
    10 Comments Second Anniversary 5 Likes
    edited March 2020

    A trick can be:

    1) create a dataview

    2) insert one cube from your DB

    3) go to option of the dataview

    4) select Appearance -> Button

    5) select all the procedure that the user can choose.

     

    image

    when the user press to the button into the dataview, will appear a window where he can choose the procedure to run.

    If something is not clear, write me back your question.

    BR. 

  • Hi Abhijat,

     

    Can you be more specific regarding what you need:

     

    Some images that illustrate your desired outcome would be most helpful

    Specific use and values to be used

     

    Thanks 

     

    Regards,

     

    Paul