File Server portlet

 


Overview

To display static HTML files in the portal by means of the file server portlet (FileServer), go to...

Administration | Portlet Management | Portlets | FileServer portlet | Configure

In the section entitled Parameters and Values add your chosen URL by entering "url" in the New parameter box and your URL in the New value box.

To change the title of the portlet (the default is "FileServer"), select...

I want to set titles and descriptions

On the following page, select Edit next to the language-specific title you wish to modify, make your changes, then select OK.

To place the portlet on a page...

My Portal | yourpage | Edit Page | Add Portlet

HTML content can be local (relative path) or remote (absolute path). To use the relative path, place your HTML file in the WAR file directory associated with the portlet, for example...

FileServer.WAR/FileServerPortlet/html/test.html

The portlet's directory will be under...

was_root/installedApps/

The path for the example above would be...

/FileServerPortlet/html/test.html

The "url" configuration parameter is applied globally to the file server portlet wherever it is placed in the portal (on any page). If you wish to invoke more than one file server portlet on a single page (in order to display the content of more than one static HTML file), first copy or clone the portlet using...

Administration | Portlet Management | Portlets

There you may select the portlet from the given list and select the Copy icon.

 

See also

Home |

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.