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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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:
  • 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,763 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard