You need to sign in to do that
Don't have an account?
Roman Regmi
Trigger to check if file is attached to a custom object record.
I have a scenario where I need to check if a file has been added to a custom object record. If a file is already present, then the user should not be able to upload more files. Else, the user should be able to upload files.
Try with below code and replace your custom object name.
If this helps, Please mark it as best answer.
Thanks!!