I have written a code to upload a file in cases module . I am able to attach the file and display in the detail view. But when I click on the attachment its redirect to a page with an error - Error. This type is not valid.
I am using sugarcrm 6.5.x community edition.
The link :
Error in Page:
Error. This type is not valid.
Please suggest. Any input will be helpful.