cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
escimorales
Level: Powered On

Error in using 'MicrosoftTo-Do(Business)'.CreateToDo()

Hi everyone,

 

I am new in using power apps and i am trying to integrate Office 365 To-Do application. I have a set of field that would let the user input a subject, body and assigned person. How do I pass the values from the screen to the To-Do application?

 

Set(varBody,Value(Log_ActionItem.Text));
Set(varDueDate,Value(Log_Deadline.SelectedDate));
Set(varAssignee,"email@sample.com");

'MicrosoftTo-Do(Business)'.CreateToDo(Log_ActionSubject.Text,{Body:varBody,DueDateTime:varDueDate,folderId:"To-do list",assignedTo:varAssignee});Capture.PNG

 

Errors:

Invalid argument. Expecting a Record value instead.

No parameter. This function has no optional parameter named 'assignedTo'

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: Error in using 'MicrosoftTo-Do(Business)'.CreateToDo()

1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: Error in using 'MicrosoftTo-Do(Business)'.CreateToDo()

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,208)