cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Resolver I
Resolver I

Re: Patching to SharePoint list - Title required

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

Highlighted
Community Support
Community Support

Re: Patching to SharePoint list - Title required

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
secondImage

New Return to Workplace

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

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,460)