To manage resources like bundles, style sheets or images, use the Resource Management view, which you can open from the Administration Perspective launch panel. It provides the possibility to manage the following resources for the runtime environment of the administrator the Administration Perspective is started for:
Figure: The Resource Management View
Note
Supported characters for filenames
are: "a-zA-Z0-9-+=_.,)(&^%$#@!~".
The filename should always start with an alphanumeric character.
The section Resources Tree View describes the functionality of the tree view provided for the resources.
To enable the usage of the Resource Management view in an EJB environment without Spring, you need to configure some environment setting for document service usage.
For detailed information on the Document Management Service usage, please refer to the Document Service Integration Guide. Document Service Integration Guide.
The DmsContentServlet assumes that you have a well configured Spring environment, because it needs an instance of the ForkingService. In case you are working in an EJB environment without Spring, you can add and modify respectively the following settings to increase the performance:
<servlet>
<servlet-name>DmsContentServlet</servlet-name>
<servlet-class>org.eclipse.stardust.engine.api.web.dms.DmsContentServlet</servlet-class>
<init-param>
<param-name>clientContext</param-name>
<param-value>ejb</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>DmsContentServlet</servlet-name>
<url-pattern>/dms-content/*</url-pattern>
</servlet-mapping>
This is necessary as otherwise the servlet defaults to
Spring environment lookup.
<servlet>
<servlet-name>FsdContentServlet</servlet-name>
<servlet-class>org.eclipse.stardust.ui.web.viewscommon.docmgmt.FileSystemDocumentServlet</servlet-class>
<init-param>
<param-name>clientContext</param-name>
<param-value>ejb</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>FsdContentServlet</servlet-name>
<url-pattern>/fsd-content/*</url-pattern>
</servlet-mapping>
This servlet is required to render images uploaded via activity panels as
document metadata.
<ejb-local-ref>
<ejb-ref-name>ejb/ForkingService</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>org.eclipse.stardust.engine.api.ejb2.beans.LocalForkingServiceHome</local-home>
<local>org.eclipse.stardust.engine.api.ejb2.beans.LocalForkingService</local>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>ejb/ForkingService</ejb-ref-name>
<local-jndi-name>org.eclipse.stardust.engine.core.runtime.beans.ForkingService</local-jndi-name>
</ejb-local-ref>The resource tree view displays all relevant resources. Under the tree nodes, all currently available resources for the tenant are displayed. You have the possibility to create a sub-folder hierarchy.
The folders and sub-folders under artifacts are created automatically. Although an administrator can delete any of these folders, subsequent log-out and log-in operations will recreate these folders automatically. It is not possible to create any sub-folders and files under the artifacts folder directly. However you can upload files and add sub-folders to the existing sub-folders in artifacts.
You can backup and load configurations from and to the artifacts folder.
You can download a complete configuration using the Backup Configuration option and save it in a zipped file. Right-click on artifacts and select Backup Configuration.
Figure: Backup Configuration
The download dialog appears. Click the Download button to start the download.
Figure: Download configuration confirmation
The configuration files are saved in a zipped file. The default name is artifacts.zip, which can be changed in the according File download dialog.
To load existing configurations or reload formerly saved configurations, use the Load Configuration option.
Right-click on the artifacts folder and select Load Configuration from the menu options.
Figure: Load Configuration
Note: This operation removes any existing content from the artifacts folder and cannot be undone once confirmed.
A confirmation dialog opens to confirm that the existing files and folders can be overwritten.
Figure: Load Configuration confirmation
The File Upload dialog opens where you can browse to the configuration zip file to be uploaded. In case the file is not valid, an error message appears and the operation is interrupted.
You can apply the uploaded configuration by setting it in the Portal Configuration part of the Configuration Panel, e.g. by selecting a new uploaded skin.
Use the following pattern for the Skins folder structure:

Figure: Structure of a Skin Folder.
You can select, expand and collapse nodes in the tree view.

Figure: Collapsing Nodes
To open the folder menu, right-click on the folder node.
Figure: Folder Context Menu
The following operations are provided on folders in the Resource Management view:
For detailed information on the listed folder operations, refer to chapter Document Operations.
To open the document menu, right-click on the file node.
Figure: Document Context Menu
The following operations are provided on documents in the Resource Management view:
For detailed information on the listed document operations, refer to chapter Document Operations.