cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JasonK
Advocate II
Advocate II

Removing characters from an Outlook-calendar array (Categories)

Hello, Does anyone have any ideas on how to scrape out characters when utilizing the Outlook calendar - Categories field?

 

Example pull all the calendar events. When the categories field is pulled, categories are stored in an array because multiple categories can be selected. However when they are inserted into an excel or sharepoint list, they are displayed like ["Red category", "Blue category"]

 

I want to strip out the brackets [ ] and the quotes " ". Leaving just the name and comma. Example Red category , Blue category.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
CFernandes
Super User
Super User

Hey Mate,

 

You can join and replace to achieve your requirement -

 

join(outputs('Compose'),',')
 
CFernandes_0-1634149948840.png

 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

 
 

View solution in original post

3 REPLIES 3
CFernandes
Super User
Super User

Hey Mate,

 

You can join and replace to achieve your requirement -

 

join(outputs('Compose'),',')
 
CFernandes_0-1634149948840.png

 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

 
 

Awesome @CFernandes  Worked quick and easy. Thank you

@JasonK Wohoo... I am glad that your problem has been resolved.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,013)