web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Button Click Sound Ale...
Power Apps
Unanswered

Button Click Sound Alert notification.

(0) ShareShare
ReportReport
Posted on by 5

 

building one solution in Power Apps. It is based on Image processing. My solution should get notification if Box quantity is not equal to 16. In case of 16 numbers it should not give any notification. In case of it is not equal to 16 it should give the notification "Complete the Box". I could be able to generate Notification by using below if-else command.

Notify(If(
    TextInputNumber.Text <> "16",
    "complete the box"
));


881458dc-fedb-4389-8298-bcef5247f8f7.png

If(
    TextInputNumber.Text <> "16",
    Notify("Box not Completed", NotificationType.Error);
    UpdateContext({ PlaySuccessSound: false }), /* Set variable to indicate not to play success sound */
    Notify("Box Completed", NotificationType.Success);
    UpdateContext({ PlaySuccessSound: true }) /* Set variable to indicate to play success sound */
);
If(
    PlaySuccessSound,
    /* Play success sound */
    /* Your code to play the success sound goes here */
    Set(PlaySuccessSound, false) /* Reset variable after playing sound */
);
Reset(TextInputNumber)
Categories:
I have the same question (0)
  • daved3 Profile Picture
    137 on at

    You can try this for the Button

     

    Reset(Audio1); Set(varBeep,false);Set(varBeep, true);

    (If your Audio control name was Audio1)

     

    Then in Audio1 control set Start to varBeep

     

    Regards

    Dave

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard