cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ben-thompson
Solution Sage
Solution Sage

Use SetNotification to show error messages?

Is it possible to access SetNotification within a field control to display an error message if required (say in a bound control when the number is out of range)? This would ensure the error message would be displayed at the top of the form were someone to try and save the record while the error existed.

 

Now logged as an idea at https://powerusers.microsoft.com/t5/PowerApps-Ideas/Allow-a-PCF-field-component-to-flag-a-field-as-i...

---
If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".
11 REPLIES 11

hi Yawer,

 

1) Regarding

Are you saying you this API is not documented for public use but available or it is something new and will be released in future?

 

Yes, this is in consideration.

 

2) Instead of JS on change of current field value, as per current infrastructure can it form level? On form load hocking onSave, check data- and if found don't save? 

 

Yes, hook to onSave is aldo possible with well implementation

Hi, @AnqiChen is the context.utils in preview or ready for use?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,500)