cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Mandatory Fields in SharePoint and PowerApps

I've created an issue log in a SharePoint list that contains around 16 fields, from that list I have created a PowerApp form but only brought in 6 fields as these are the ones I want an end user to complete with details of the issue, the other 10 fields are for the project team to complete with fields such as Status, Priority etc.  Some of these project team fields are mandatory as I want to ensure the project team complete them, but in PowerApps it won't let you submit the form as there are mandatory fields in the SharePoint list that I don't want to include in the PowerApp form.  

 

Any ideas as to how I can get around this?

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Mandatory Fields in SharePoint and PowerApps

Hi @AnnaBrodnicki,

 

It is sure that you cannot leave these mandatory fields empty when submitting one item. It will cause error. But you can set those fields with some default values, like "**", then make those field invisible in the edit form. Like:

DataCardValue1.Text="**"
DataCardValue1.Visible=false

Then these fields would be updated with Default value, and you could let project team to edit these fields later.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper I
Helper I

Re: Mandatory Fields in SharePoint and PowerApps

Hi Mona, thank you, that's a great idea that I hadn't thought of!  Perfect, I will give this a try.

 

 

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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