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’
🙂
Advertisement
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,609,708 hits
Join 409 other subscribers
Top Posts
- Power Apps component framework (PCF) - Beginner guide
- [Step by Step] Power Apps | Show pop ups in Canvas App
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- [Step by Step] Power Apps Portal - Configure Global Search
- Associate/Disassociate plugin messages in CRM
- Set “Created On”,” Created By”, “Modified On”, “Modified By” fields using SDK/Data Import/Plug-in – Dynamics 365
- [Step by Step] Model-driven apps | In-app notifications
- [Step by Step] Dataverse | Plugins | Using Dependent Assemblies
- Power Automate Cloud Flow | 'Correct to include a valid reference' error
- [Step by Step] Connecting to Azure SQL Server using OLEDB Connection from SSIS