cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Community Support

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

1 REPLY 1
Highlighted
Community Support
Community Support

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

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,832)