I want to check the file name of Opportunity attachments using Groovy. — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

I want to check the file name of Opportunity attachments using Groovy.

in Sales 1 comment

I want to generate an error when saving if there is an apostrophe in the file name of an Opportunity attachment.
When I implemented this in the BeforeUpdate trigger, if I changed items other than the attachment and saved, an error occurred if there was an apostrophe in the file name, but if I only inserted the attachment and saved, the error check did not occur.
Please tell me how to resolve this.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!