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,259,949 hits
Translate
Categories
Top Posts
- [Step by Step] Postman tool to test Dynamics 365 online Web API
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- CRM Entity List Export to Excel – ADX Portals
- PowerApps - Step By Step - Build a simple Calculator App
- [Step by Step] Using TypeScript in Dynamics 365 9.x
- [Step by Step] Restore a Database from Azure Blob to Azure SQL Server
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- Boot failure reboot and select proper boot device – Error connecting to VM - Hyper V
- SqlError: The backup set holds a backup of a database other than the existing database
- Dynamics Portals - Entity List Filters
Recent Posts
- Canvas App Import Failure | CanvasAppEnvironmentMismatch error
- ‘Callback Registration Expander’ System Jobs stuck at ‘Waiting For Resources’
- [Step by Step] Debug Model Driven and Canvas Apps using ‘Monitor’ tool
- Canvas App | Dataverse | Distribute columns to multiple forms and Patch
- [Step by Step] Canvas App | Dataverse | Filter, Patch, For All, Lookup