cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

play sound when changes a sharepoint list

Hi All!

Firstly  "thank you to anyone who helps"

 

it's possible an audio will be played when the status of sharepoint column changes

 

I have a sharepoint list with a status column and I neede taht when the status is "finished", it's plays an audio in the app

 

Cheers

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @DanielGT-89 ,

Do you create a custom form app in your SP List or standalone canvas app based on your SP List?

 

Firstly, please upload your sound file into your canvas app through the "Media" feature. Then Add a Audio control within your Edit form screen, set the Media property of this Audio control to the previous uploaded sound file.

 

1) If you create a custom form app in your SP List, please set the OnSuccess property of SharePointForm1 to following:

If(
   SharePointForm1.Status.Value = "Finished",
   Set(IsStart, false);Set(IsStart, true)
)

set the Start property of the Audio control to following:

IsStart

 

2. If you created a standalone canvas app based on your SP List:

set the OnSuccess property of EditForm1 to following:

 

If(
   EditForm1.Status.Value = "Finished",
   Set(IsStart, false);Set(IsStart, true)
)

 

set the Start property of the Audio control to following:

 

IsStart

 

Note: I assume that the Status column is a Choice type column in your SP List.

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

HI @DanielGT-89 ,

Yes - with the PowerApps Audio Control

Here is the reference guide to it.

You simply

  • Upload your audio file into Media in the App
  • Set the Media property of the control to this file
  • Set a Variable as the Start property of the control (you can hide the control)
  • Set this Variable when you want to play the sound.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Highlighted
Community Support
Community Support

Hi @DanielGT-89 ,

Do you create a custom form app in your SP List or standalone canvas app based on your SP List?

 

Firstly, please upload your sound file into your canvas app through the "Media" feature. Then Add a Audio control within your Edit form screen, set the Media property of this Audio control to the previous uploaded sound file.

 

1) If you create a custom form app in your SP List, please set the OnSuccess property of SharePointForm1 to following:

If(
   SharePointForm1.Status.Value = "Finished",
   Set(IsStart, false);Set(IsStart, true)
)

set the Start property of the Audio control to following:

IsStart

 

2. If you created a standalone canvas app based on your SP List:

set the OnSuccess property of EditForm1 to following:

 

If(
   EditForm1.Status.Value = "Finished",
   Set(IsStart, false);Set(IsStart, true)
)

 

set the Start property of the Audio control to following:

 

IsStart

 

Note: I assume that the Status column is a Choice type column in your SP List.

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,358)