• KenN
  • NEWBIE
  • 30 Points
  • Member since 2011

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I'm using the apex InputFile standard component to allow users to attach images to one of my custom objects.

 

There seems to be a limit on the file name size, but I can't find anything in the docs or force sites to confirm this.

 

If the file name is greater than 81 characters, I get redirected to the salesforce "an error has occurred" page, but I don't get any warning emails etc., nor can I trap this error as it is happening before hitting my controller. 

 

Has anyone else seen this?

I'm using the apex InputFile standard component to allow users to attach images to one of my custom objects.

 

There seems to be a limit on the file name size, but I can't find anything in the docs or force sites to confirm this.

 

If the file name is greater than 81 characters, I get redirected to the salesforce "an error has occurred" page, but I don't get any warning emails etc., nor can I trap this error as it is happening before hitting my controller. 

 

Has anyone else seen this?