Skip to main content

Notifications

Community site session details

Community site session details

Session Id :

Dialog OK - Cancel with action event

PowerJester Profile Picture Posted by PowerJester 70

The cmpDialogOKCancel component can be used in Powerapps canvas apps and gives the possibility to display a modal dialog including: title, message, "cancel" button and "ok" button.


Through the actions: OnSelectCancel and OnSelectOK present in the component it will be possible to execute actions based on the button selected by the user, directly on the calling screen.

Categories:

Comments

  • PowerJester Profile Picture PowerJester 70
    Posted at
    Dialog OK - Cancel with action event

    Hi, @Dimipowerpl 

     

    I don't know, the component has no reference to the office connector.

    You can remove the office connector if not necessary.

  • Dimipowerpl Profile Picture Dimipowerpl 6
    Posted at
    Dialog OK - Cancel with action event

    hey @PowerJester why does the component load the office connector when importing?

  • PowerJester Profile Picture PowerJester 70
    Posted at
    Dialog OK - Cancel with action event

    Hi Carlos,

     

    You have to use a false/true variable when you want to pop up dialog, then in the On_Select event of the ok / cancel buttons, set the variable back to false to hide the dialog.

    I attach the last version there was a problem with the colors buttons.

     

  • carlos_briceno Profile Picture carlos_briceno
    Posted at
    Dialog OK - Cancel with action event

    Nevermind, i got it. 😃

  • carlos_briceno Profile Picture carlos_briceno
    Posted at
    Dialog OK - Cancel with action event

    How can i make your component invisible from the start and then when i push a button in the property 'OnSelect' make it visible? 
    I have tried putting the property Visible to false from the start, but then i can't modify it.

     

    Regards.