![]()
Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
File resource element
You can store a file, such as a PDF file, in a file resource element.
By storing a file in a file resource element:
- You can reference the file anywhere in your site regardless of the original file location or URL.
- The file is automatically transferred to other servers during syndication.
You use file resource elements to enable users to download files. For example, You can store a PDF file as a file resource element. You can then create a link to this in a presentation template or HTML element to enable users to download the PDF file.
<a href="<component name="FileResource" />">Link Text</a>
Import large files and images
By default, 10 MB is the largest single file that you can import. If your need to import files larger than 10 MB, an administrator will need to configure your server's inbound buffer size.
Document Manager versus Web Content Management
A file can be stored both as a document in Document Manager or as an element, such as a file resource element, in Web Content Management. You only store a file in WCM if it is to be used only by WCM. If other WebSphere Portal modules require access to a file, or if you need to use a feature provided by Document Manager, then store the file as a document in Document Manager.
Upload resources with non-ASCII characters in resource filename
All non-ASCII characters are removed from the filenames of resources imported into WCM items. If a filename is found to have no ASCII characters, then the resource will be given the name of "resource". For example, resource.jpg.
Parent topic:
Storing files and images