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.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,839)