- Oracle WebCenter Portal Online Help
- Online Help Topics for Shared Assets
- Assets
- Resource Catalogs
- Edit Resource Catalog Item
Edit Resource Catalog Item
You can edit properties on a resource to set the resource name and description, the icon to be associated with the resource, and to add new properties.
To set properties on a resource:
- On the Target tab, in the Name field, edit the name of the resource as it should appear in the resource catalog.
- In the Description field, enter a brief description to display below the resource name in the resource catalog.
- Select Visible if you want to display the resource in the resource catalog.
Alternatively, you can specify an EL expression to determine under which conditions the resource displays in the catalog. For example, to specify that the resource should be visible only to users with the
Portal Manager
role, use the following EL expression:#{WCSecurityContext.userInScopedRole['Moderator']}
- The remaining fields on this tab are specific to the resource type:
Field Applies to Description Path
Links
Enter the URL to access the resource. The URL format is different depending on what you are linking to:
-
Task Flow:
taskflow://
Path_to_Task_Flow
/
Task_Flow_Definition_File_Name
#
Task_Flow_ID
-
Portlet:
portlet://
Producer_ID
/
Portlet_ID
-
Content:
content://
Content_Connection_ID
/
Document_ID
If you do not know the location, click the Select icon to browse for available resources.
Note: In the Select dialog, the Select button is active only when you select a resource that can be included in the navigation model. For example, if you expand the Portlets node and select a portlet producer, then the Select button is disabled. If you expand the portlet producer and select a portlet, then the Select button is enabled.
Repository
Resources that require a repository connection
The name of the connection used to lookup the resource.
Include Catalog
Nested Resource Catalogs
Select the resource catalog to nest within the current catalog.
Hide Top-Level Folder
Custom folders that are populated dynamically at runtime.
Select to include contents from the selected folder directly under the parent folder rather than in its own folder. .
Factory Class
Custom folders that are populated dynamically at runtime
The factory class used to create the folder.
The factory classes for the folders available in the default catalog are as follows:
-
Task flow:
oracle.webcenter.portalframework.sitestructure.rc.TaskFlowResourceFactory
-
Portlet:
oracle.webcenter.portalframework.sitestructure.rc.PortletResourceFactory
-
Content:
oracle.webcenter.content.model.rc.ContentUrlResourceFactory
-
Data control:
oracle.webcenter.datacomposer.internal.adapter.datacontrol.DataControlContextFactory
-
- On the Options tab, set display options:
Option Description attr.ATTRIBUTE_NAME
For each attribute, enter an initial value for the attribute.
These are attributes defined against portlets or task flows at design time. When the task flow or portlet is consumed on a page, the attribute is exposed along with the enclosing chrome's attributes; for example,
attr.text
defines the default title for the task flow or portlet andattr.contentStyle
defines the CSS style to be applied. An attribute is not exposed on the chrome if you do not set an initial value for it.parameter.PARAMETER_NAME
For each parameter, enter an enter initial value for the parameter.
These are parameters defined against portlets or task flows at design time. When the task flow or portlet is consumed on a page, the parameter is exposed along with the enclosing
Show Detail Frame
orMovable Box
component's properties. A parameter is not exposed on the chrome if you do not set an initial value for it.Large Icon URI
Enter the path of an icon to display next to the resource in the catalog. The icon should preferably be 32 x 32 pixels in size.
Small Icon URI
Enter the path of an icon to display next to the resource when it appears in the Up menu in the catalog. The icon should preferably be 16 x 16 pixels in size.
Tool Tip
Enter the text to display when users hover the mouse over the resource in the catalog.
New Attribute Name Enter the name of an attribute that has been defined for the resource but is not exposed in the dialog. You can also select an attribute from the drop-down list.
New Attribute Value
Enter a value for the attribute specified in the New Attribute Name field, and click Add.
Tip:
You can click Add even without specifying a value for the attribute. You can specify the value once the field is displayed in the dialog along with the other display options.
- Click the Parameters tab and define parameter values for resources that support wiring (for example, portlets and task flows). For details about supported parameters for a resource, refer to the documentation for that resource.
- Click OK.
- Click Save and Close.