You need to sign in to do that
Don't have an account?
Simon234
ContentVersion: how to check File Type and File Size?
I need to check Max Image Size and File Type for creating correct Error ApexPages.Messages. I try do something like this:
if (conVer.FileType != '')But what can I write there?
But You can do it as below