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 / OnChange for Planner d...
Power Apps
Unanswered

OnChange for Planner does not work

(0) ShareShare
ReportReport
Posted on by 12

Hi.

 

I have some troubles with Planner. When I type my Code everything is fine, no Errors. As soon as I run the App and make changes in the Gallery, suddenly I get error and my whole Code is underlined red.

 

 

 

Planner.UpdateTask(ThisItem.dueDateTime;{Date:DatePicker2.SelectedDate})

 

 

 

 

 

Planner.UpdateTask(ThisItem.title=TextInput2.Text)

 

 

 

I tried 2 different versions but none works. Can someone help me please?

 

Thanks,

Mazlum.

Categories:
I have the same question (0)
  • EddieE Profile Picture
    4,641 Moderator on at

    @Mazlum 

    This may be a millisecond delay with PowerApps running your function? Try wrapping your code in an If() statement, eg

     

    If(
     IsBlank(ThisItem.dueDateTime),
     "",
     Planner.UpdateTask(ThisItem.dueDateTime;{Date:DatePicker2.SelectedDate})
    )
    

     

  • Mazlum Profile Picture
    12 on at

    Hey, thank you for your fast answer, I tested the If Statement and got following error, which I will upload as an image:

  • EddieE Profile Picture
    4,641 Moderator on at

    @Mazlum 

    Not sure what's going on there. You may need to Google that error to see what you can find, sorry

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
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard