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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Users online (3,042)