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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard