function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi,
I need to allow the user to add only two attachments in the record. How can i achieve this?
Can we achieve by using validation?
Plz Guide me!
Thanks
vinoth
Using a trigger on ContentDocument?! http://developer.force.com/releases/release/Spring12/contentdocument+triggers
Of course count the existing amount of documents attached to the record as the logic of the trigger ;-)!
Using a trigger on ContentDocument?! http://developer.force.com/releases/release/Spring12/contentdocument+triggers
Of course count the existing amount of documents attached to the record as the logic of the trigger ;-)!