Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Set validation rules for data sources

Where can I set validation rules for data sources?

Super User III
Super User III

Re: Set validation rules for data sources

Hi @summitb

PowerApps will apply whatever validation rules that you define at the data source. Say you have a SQL Server data source and that you define a max length on a column. If you add a form based on this table, PowerApps will add 'error' labels to the cards and it will enforce this rule when a user attempts to save the record. The same thing applies to SharePoint lists.

There is no mechanism within PowerApps for applying validation rules in PowerApps at the data source level.  The other day, @iAm_ManCat posted a method for applying validation at the screen level.

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,315)