Basic Customization > User Interface Customization > Gathering the Data for the UI > File Download > Solution > Procedure – Downloading a Windchill URL
  
Procedure – Downloading a Windchill URL
Because PTC.util.downloadURL(url) is a utility function that might be used under many circumstances, no single procedure can anticipate them.
For Javascript and JSP, create or modify the code that needs to initiate the download, calculate or look up the URL of the desired file, and call PTC.util.downloadURL(url) where needed.
For server-side initiation in Java, see Packaged Samples.