cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Montana
New Member

Default Value in Model Driven App

I am pretty new to PowerApps and have been working on a Model Driven Application (MDA). The question that I have is how do you set a default value in a MDA form (text field) only when you create a new record. I know how to do this in a canvas app but not sure in a MDA.

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User III
Super User III

Hi @Montana 

To set a default value, you would define a business rule. The documentation for this is here.

https://docs.microsoft.com/en-us/powerapps/maker/data-platform/data-platform-create-business-rule

The trick is to add the condition 'created on' does not contain data. That's the condition that identifies a new record.

 

timl_0-1614369872591.png

 

 

View solution in original post

2 REPLIES 2
timl
Super User III
Super User III

Hi @Montana 

To set a default value, you would define a business rule. The documentation for this is here.

https://docs.microsoft.com/en-us/powerapps/maker/data-platform/data-platform-create-business-rule

The trick is to add the condition 'created on' does not contain data. That's the condition that identifies a new record.

 

timl_0-1614369872591.png

 

 

View solution in original post

Thanks for the information, this should point me in the right directions!

 

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!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (36,769)