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

Categorise Calender event in powerapps

I created an event by powerapps using the below function

Office365Outlook.V4CalendarPostItem(dropdownCalendarSelection1.Selected.Name, Subject.Text , Today(), Text(DateAdd( Today(), 3 )), "(UTC) Coordinated Universal Time")

But, V4CalendarPostItem does not have the categorise parameter. How can i categorise the event in powerapps?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @hs_clover ,

Could you please share a bit more about your scenario?

Do you want to specify the Category for the event created using Office365Outlook.V4CalendarPostItem() function?

 

If you want to specify the Category for the event created using Office365Outlook.V4CalendarPostItem() function, I afraid that there is no way to achieve your needs in PowerApps currently.

 

There is no optional property called "Categories" released within the Office365Outlook.V4CalendarPostItem() function currently. If you would like this feature to be added in Office365Outlook.V4CalendarPostItem() function, please submit an idea to Power Apps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

As an alternative solution, you could consider try the following formula to achieve your needs:

Office365Outlook.CalendarPostItem(
                                  "Calendar", 
                                  Today() ,
                                  Text(DateAdd( Today(), 3 )), 
                                  "This is a Subject Message",
                                  {
                                    Categories: Table({
                                                        Value: ""
                                                 })
                                  }
)

Note: You could use the Office365Outlook.CalendarPostItem() function to achieve your needs, even though, this function has been DEPRECATED from the Office 365 Outlook connector, but you still could use it in canvas app.

 

Regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @hs_clover ,

Could you please share a bit more about your scenario?

Do you want to specify the Category for the event created using Office365Outlook.V4CalendarPostItem() function?

 

If you want to specify the Category for the event created using Office365Outlook.V4CalendarPostItem() function, I afraid that there is no way to achieve your needs in PowerApps currently.

 

There is no optional property called "Categories" released within the Office365Outlook.V4CalendarPostItem() function currently. If you would like this feature to be added in Office365Outlook.V4CalendarPostItem() function, please submit an idea to Power Apps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

As an alternative solution, you could consider try the following formula to achieve your needs:

Office365Outlook.CalendarPostItem(
                                  "Calendar", 
                                  Today() ,
                                  Text(DateAdd( Today(), 3 )), 
                                  "This is a Subject Message",
                                  {
                                    Categories: Table({
                                                        Value: ""
                                                 })
                                  }
)

Note: You could use the Office365Outlook.CalendarPostItem() function to achieve your needs, even though, this function has been DEPRECATED from the Office 365 Outlook connector, but you still could use it in canvas app.

 

Regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (65,661)