Confirm Dialog Box with Custom Button uses PowerFX in Model Driven App
Confirm Dialog Box with Custom Button uses PowerFX in Model Driven App.
Watch the video below.
If(Confirm( "Upgrade your Max Card Limit to ",{Title:"Confirm",Subtitle:"Increasing Card Limit is Free but before upgrade take customer confirmation.",ConfirmButton: "50% More", CancelButton: "100% More" } ),
Patch(Cards,Self.Selected.Item,{'Maximum Limit':Self.Selected.Item.'Maximum Limit' + ((Self.Selected.Item.'Maximum Limit' /100)*50)});Notify("Limit Upgraded to 50%",NotificationType.Information,1000),
Patch(Cards,Self.Selected.Item,{'Maximum Limit':Self.Selected.Item.'Maximum Limit' + ((Self.Selected.Item.'Maximum Limit' /100)*100)});Notify("Limit Upgraded to 100%",NotificationType.Information,1000)
)
Hope this helps.