Re: File template.
By default sugar allows delete related files (documents) just on detail view.
To delete the physical file together with the association removing, a solution could be you create a new subpanel widget on include/generic/SugarWidgets/ and replace teh current remove button for that.
In your new widget beyond teh code to delete relationship and record, you have to add code to delete the file from OS.
Rafael Queiroz Gonçalves
Advanced OMG UML Certified Professional
Sun Certified Enterprise Architect for the Java Platform
Sun Certified Programmer for the Java 2 Platform
IBM Certified Advanced Application Developer - Lotus Notes and Domino
IBM Certified Application Developer - IBM WebSphere Portlet Factory
Computer Science Mastering / UFSC - PPGCC
Bookmarks