Dialog box issue in FPM
Hi,
In my custom application I have created 2 buttons and created 2 different dialogue boxes in the FPM configurator.
For each button in the FPM Configurator, I have assigned the relevant DIALOG BOX ID and assigned the FPM event ID as FPM_OPEN_DIALOG.
The issue now is, I am getting only the first assigned dialog box in the popup even for the Second button.
Please let me know if I am missing any settings.
Eg : First button ----> Dialog box 1 ( Assignment )
Second Button ----> Dialog box 2 ( Assignment )
Result
First Button ----> Dialog box 1 is called
Second Button ----> Still the Dialog box 1 is called.
Thank you!
Former Member replied
Ok, Solved myself...
There are 2 methods to achieve this using configuration.
==> Create a dialog box and assign relevant UIBB or GUIBB
==> Now create a button and provide the event id as FPM_OPEN_DIALOG and in the Enter event parameters section, pass 'DIALOG_BOX_ID' as parameter name and Dialog box id value ( ie. Page id of dialog box) as Parameter value.
It will work.
2nd Approach
==> Create a dialog box and assign relevant UIBB or GUIBB
==> Now create a button and provide the event id as FPM_OPEN_DIALOG and in the Target Page assing the value of Dialog Box Page ID.
This will also work.
Note : DIALOG_BOX_ID is a constant and should not be changed... I was passing different value so it was not working for 2 different buttons. ( IF_FPM_CONSTANTS=>GC_DIALOG_BOX-ID )