cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mr_Mather
Helper I
Helper I

Check and strip attachment from CDS

Hello All,
Does anyone have any tips or tricks to remove attachments from emails within the CDS?
Thanks
Lee
1 ACCEPTED SOLUTION

Accepted Solutions

 

Hi @Mr_Mather ,

 

If you want to check if the email is the one you specified and strip the attachment, you can check the properties of the email.

86.PNG

Or if you know the identifier of the corresponding record, then you can use Get record directly to get the specified record and perform the following operations.

87.PNG

The method I provided earlier is to show that the attachments are stored in the Notes entity and use the Regarding id as a reference field, so you can use a similar method to get or remove attachments.

 

Hope it makes sense.

 

Best Regards,

Community Support Team _ Barry
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

3 REPLIES 3
v-bacao-msft
Community Support
Community Support

 

Hi @Mr_Mather ,

 

Please try to use this Flow configuration.

74.PNG

 

Best Regards,

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

Hi there, could you, or perhaps anyone else with the knoweldge 😉 give me a little heads up on how it knows which email to strip the attachement from.

 

Is there any extra config to the Regarding section

 

ta

 Mr M

 

Hi @Mr_Mather ,

 

If you want to check if the email is the one you specified and strip the attachment, you can check the properties of the email.

86.PNG

Or if you know the identifier of the corresponding record, then you can use Get record directly to get the specified record and perform the following operations.

87.PNG

The method I provided earlier is to show that the attachments are stored in the Notes entity and use the Regarding id as a reference field, so you can use a similar method to get or remove attachments.

 

Hope it makes sense.

 

Best Regards,

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,118)