Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
3226 Näkymät

Salam, 

How can I make one button with 2 choices . When user click on the button the 2 choices appear then the user select one of them .?

Avatar
Hylkää
Paras vastaus

When the button is clicked, call a wizard which displays two options in a dropdown. Based on the option selected, you can call the method defined in the main class (in .py file).

For reference you can check convert lead to opportunity related code, where you can find multiple options while converting.

Avatar
Hylkää
Tekijä

Thank you for your solution. Is it possible with a solution like the "Actions" button that exists in the header of any form view and offers more than one action to the user?

Paras vastaus

Hi,

Return a wizard from the button, then you can display your choices inside the wizard and then user can select from it and continue.

Return wizard from button:https://www.youtube.com/watch?v=QpzBdLWEWsE

Thanks & Regards

Avatar
Hylkää
Tekijä

Thank you for your solution. Is it possible with a solution like the "Actions" button that exists in the header of any form view and offers more than one action to the user?

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
toukok. 24
3269
1
huhtik. 24
26983
1
marrask. 22
2685
2
heinäk. 22
3422
0
tammik. 22
2379