Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Answered

Alerts in Power Pages

(0) ShareShare
ReportReport
Posted on by 48

Hi.

I would like to ask what is the best approach to configure alerts in Power Pages?
I know there is an "OnSucces" option for Basic Form, but is it possible to provide a custom alert, for example, about a failure when adding a record?

I noticed that when you use Virtual Tables and try to add a record, but from an external data source the validation fails, then dataverse can provide an alert from the external source and show it on the screen.

hubjes_1-1712841127547.png
I wonder if I can use this in Power Pages and set up alerts on the external source page?

Any knowledge about configuring alerts will be very useful 🙂

 

Categories:
  • hubjes Profile Picture
    48 on at
    Re: Alerts in Power Pages

    Thanks for reaching out.
    I think that Dynamics 365 Business Central doesn't support JQuery and to be honest i don't understand how I can connect alerts from Business Central to Dataverse with that.

  • Abhishek Bihani Profile Picture
    45 on at
    Re: Alerts in Power Pages

    @hubjes I suggest you can go with Jquery confirm (client side library) to show alert or confirmation message.

     

  • Verified answer
    oliver.rodrigues Profile Picture
    9,319 Most Valuable Professional on at
    Re: Alerts in Power Pages

    I haven't worked on integrating BC to power pages, so not sure how much you can change the API response to achieve that.

    If you have access to manipulate the way the server-side gives the error, that would probably be the best option. of not, I think the only way here is to apply JS on the load of the page, check if you have the alert with that specific text and then change the content. 

  • hubjes Profile Picture
    48 on at
    Re: Alerts in Power Pages

    I understand that an alert, if adding records failed, is generated from the dataverse and will be displayed on the screen. However, I wonder if I can change the content of this alert to make it more user-friendly, for example.

    The second thing is that I am using virtual tables to connect to Business Central data.
    I noticed that when validation on the Business Central side fails, Dataverse warns me:
    "There was an error in saving this record," and then it will add the content of the alert that I have configured on the Business Central side.

    hubjes_0-1713164155954.png

    And I wonder if I can use that response from BC API to configure my own alerts in Power Pages?



  • oliver.rodrigues Profile Picture
    9,319 Most Valuable Professional on at
    Re: Alerts in Power Pages

    Hi, I am not sure what you are trying to achieve, if you get an error when adding a record you should get a red alert box already.

    Can you provide a mock of what you are looking for?

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43