File name ABC.pdf is invalid – error while creating attachment programmatically
The other day I was getting “Invalid file name” error when I try to create an attachment with .pdf file and associating to Email, in my plug-in. (link)
Reason
- Reason was “pdf” was added as blocked file extension for attachments in my CRM organization.
Fix :-
- Go to “Settings -> Administration -> System Settings”
- Remove pdf from “Blocked file extension for attachment”
- Click ‘OK’
🙂
Categories: CRM 2011
Tags: Attachment, CRM 2011, email, File name is invalid, unable to add pdf
Comments (0)
Trackbacks (0)
Leave a comment
Trackback
Stats
- 1,244,605 hits
Translate
Categories
Top Posts
- Power Apps component framework (PCF) - Beginner guide
- [Step by Step] Postman tool to test Dynamics 365 online Web API
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- Useful JScript syntax's – ADX/Dynamics 365 Portals
- [Step by Step] Debug Model Driven and Canvas Apps using 'Monitor' tool
- [MS Word] The Linked file isn't available
- Sandbox vs Production Instances – Dynamics 365
- Associate/Disassociate plugin messages in CRM
- [Step by Step] Connecting to Azure SQL Server using OLEDB Connection from SSIS
- Set “Created On”,” Created By”, “Modified On”, “Modified By” fields using SDK/Data Import/Plug-in – Dynamics 365