web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Title: Field required ...
Power Apps
Unanswered

Title: Field required - but Title is in the Patch statement

(0) ShareShare
ReportReport
Posted on by

Hi

I have an app that is linked to a sharepoint list. I'm using a simple collection to collect data, then patching to the SP list

However, I'm getting an error about Title Field required - but Title field is in the code?

 

Patch(
'Deliverable Effort',
ShowColumns(
colGridupdates,
"Title",
"ProjectStage",
"Deliverables",
"Comments",
"DeliverableOwner",
"Resources",
"ResourceEffort",
"ID"
)
)

 

Any ideas as to what's going on? The collection is updating as expected, but I can't patch it

Categories:
I have the same question (0)
  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    Try writing it like this

         

    Patch(
     'Deliverable Effort',
     ForAll(colGridupdates As dataPatch,
     {Title: dataPatch.Title,
     ProjectStage: dataPatch.ProjectStage,
     Deliverables: dataPatch.Deliverables,
     Comments: dataPatch.Comments,
     DeliverableOwner: dataPatch.DeliverableOwner,
     Resources: dataPatch.Resources,
     ResourceEffort: dataPatch.ResourceEffort, 
     /* Only include this next line for updates, it should not be here
     If ADDING new items */
     ID: dataPatch.ID
     }))
  • developerAJ Profile Picture
    4,628 on at

    @steshepherd 

     

    Check if you changed the Title column name that could be only issue i could think of

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 840 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 275

Last 30 days Overall leaderboard