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 / Create Task in specifi...
Power Apps
Unanswered

Create Task in specific folder

(0) ShareShare
ReportReport
Posted on by 1,168

Hi,

I am playing with adding a task in a specific folder for my Canvas app & trying to work out how to get the ID of the specific folder.

At this point just trying to display it in a label.

My attempt so far is

OutlookTasks.GetAllTaskFoldersV2({'$filter': eq (Name,'Test Folder Name')})

but am getting error The function has invalid arguments.

Thanks in advance for any assistance in getting this right.

Todd

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Tango,

    Do you want to filter folder name?

     

    If so, I suggest you use the Filter() as below:

    Filter(OutlookTasks.GetAllTaskFoldersV2().value,Name="Tasks")

    vqiaqimsft_1-1684124321000.png

     

  • Tango Profile Picture
    1,168 on at

    @v-qiaqi-msft I want to get the folder name so i can create a task in the 1st place, in to a specific folder

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Tango,

    I know that, however, I could not refer to this '$filter' parameter either because the Outlook Tasks connector has been deprecated. It is proposed to use Microsoft To-Do (Business) for business accounts.

    For personal accounts please use Microsoft To-Do (Consumer)

     

    The mentioned Filter() formula could get you a complete task folder including task id and some other parameters, you could create a new task in this folder by referring to the id as below:

    First(Filter(OutlookTasks.GetAllTaskFoldersV2().value,Name="custom")).Id

     

  • Tango Profile Picture
    1,168 on at

    Thank you @v-qiaqi-msft What would be the formula for finding out a folder id using Microsoft To Do Business?

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Tango,

    No, I haven't tried the new connector, I just modify based on your original formula using the OutlookTasks connector and this formula works as expected.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 316 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard