cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DanielGT-89
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
v-xida-msft
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
WarrenBelz
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.

v-xida-msft
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (81,688)