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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Audio when search crit...
Power Apps
Answered

Audio when search criteria is met

(0) ShareShare
ReportReport
Posted on by 42

I want whenever my gallery says Amber to play an audio clip. I can’t figure out anything. Please help!

 

 

088E6F34-AA9F-4B4C-A230-C825EE93F796.png

Categories:
  • Verified answer
    rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @Jbrown184 

     

    Add a variable to the search textbox to activate the sound when Amber is found like

    Set(_PlayWav, If(YourGallery.Selected.Value = "Amber",true,false))

     

    Set the Audio Start = _PlayWay

    Set the Audio OnEnd = Set(_PlayWav,false)

     

    When the gallery reads Amber the sound will play

     

    Hope it helps

     
  • Jbrown184 Profile Picture
    42 on at

    @rubin_boer on Set(_PlayWav, If(YourGallery.Selected.Value = "Amber",true,false)) do I put it on the default tab or items?

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @Jbrown184  you can it on the screen OnVisible or if you use a search text box you can add its to the onchange event 

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard