cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CollabTechie
Responsive Resident
Responsive Resident

Patching to SharePoint list - Title required

Hi Community,

I am receiving an error saying Title is a required field. However, I am patching to Title. I've also tried to pass through "Test" but I get the same error returned.

Here is my formula

Patch.JPG

 

Any idea what might be going on here?

2 REPLIES 2
Sababneh
Advocate III
Advocate III

I would suggest removing the "Required" check on the Title column from the SharePoint List.

You can do this by:
Going to the SharePoint List > Return to classic SharePoint (Bottom left) > List > List Settings > Title > Set No to Require that this column contains information > OK > Refresh Data Source in PowerApps > Try again

v-yutliu-msft
Community Support
Community Support

Hi @CollabTechie ,

Firstly, please modify your formula.

The right syntax of Patch should be like:
Patch(listname,Defaults(listname),{....})    //create a new record

Patch(listname,the record that you want to edit, {...})   //edit an existing record

On your side, you should try the first one.

 

Secondly, please check your settings of Title field.

You could check this by choosing list settings->Title

20330.PNG

 

203301.PNG

 

I suggest you make the Title column not required to avoid this problem.

203302.PNG

 

 

If the problem still exists, please tell me the fields' data type that you used in this formula and tell me what are these:

InputName,InputDepartment,InputHours and InputDescroption.

I notice that you seems to forget to add ".Text" behind InputDescroption.

Please try to use this:

Patch(....,Defaults(..),{.....,Description:InputDescroption.Text})

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

Top Solution Authors
Top Kudoed Authors
Users online (49,581)