Forum Discussion
How to hide file extensions in outlook
Unfortunately, no. Problem occurs when some other com add-ins interact with attachments before ours.
For example - Mimecast Large File Send functionality - you past big attachment via Mimecast, and its attached as a link. However, they retain the full name of the file, so for example in my environments it looks like FileName.originalExtension.lfs.
In customer env it is past like FileName.originalExtension. .lfs is hidden/not shown, and our add-in processes it as pdf file(and it obviously leads to corruption of the file).
- Victor_IvanidzeJul 07, 2023Bronze Contributor
Sorry I don't catch your point.
in my environments it looks like FileName.originalExtension.lfs.
In customer env it is past like FileName.originalExtension. .lfs is hidden/not shown, and our add-in processes it as pdf fileBut the original extension is pdf, correct? Why abscence of .lfs extension prevents you to do what you want?
- TarasNehrovJul 07, 2023Copper Contributor.lfs is not supported file extension. We do not process it.
.pdf is listed as supported extension. We process it. So the problem is - LFS functionality of Mimecast replaces the original file with the link - and in case when display_name or full_file_name do not includes .lsf extension - we corrupt this link.
We`ve already tried to replace display_name with full_file_name - and it works for most of the scenarios when any 3rd party add-ins interact with email attachments before ours.
But in case with Mimecast it doesn`t work. It looks like they do not change file_name when adding their link.- Victor_IvanidzeJul 07, 2023Bronze ContributorCould you show what exactly you can retrieve at the recipient's end (display_name, full_file_name etc)?