Edit Resource Catalog Item

Use the Edit Resource Catalog Item dialog to edit properties on the selected resource. More

The Edit Resource Catalog Item dialog displays properties that were defined for the resource at design time. Not all properties are exposed at runtime out-of-the-box. However, if you are aware of the properties defined at design time, you can add those properties in this dialog so that they are exposed.

The Edit Resource Catalog Item dialog is arranged in the following tabs:

Target

The Target tab of the Edit Resource Catalog Item dialog enables you to identify the resource that you want to add to the resource catalog. Note that not all elements in listed in this table are available for all resources.

Element Description

Name

Enter a display name for the resource catalog item.

Description

Enter a brief description of the resource catalog item.

Visible

Select to display the resource catalog item in the resource catalog.

Enter true or false, or click the Expression Editor icon icon next to a field and select Expression Builder to open the Expression Editor to set a dynamic value using Expression Language (EL).

Path

Enter the URL to access the resource. This field is displayed only for resources of type Link. The URL format is different for the different resources.

Prefix the paths to task flows, portlets, and content repositories with taskflow://, portlet://, and content:// respectively.

Repository

Enter the name of the connection used to lookup the resource.

This field is displayed only for resources that require a repository connection, for example, portlets.

Hide Top-Level Folder

Select to include contents from the selected folder directly under the parent folder; for example, if you select this option for the Data Controls folder, then any data controls created at runtime are displayed directly under Mash-Ups. The Data Controls folder is not displayed. You can preview the catalog to see this change.

This field is displayed only for custom folders that are populated dynamically at runtime.

Factory Class

The factory class used to create the folder. This field is displayed only for custom folders that are populated dynamically at runtime. The factory classes for the folders available in the default resource 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

XML

Specify the XML code for the component. This field is displayed only if the selected resource is a custom XML component.

Options

The Options tab of the Edit Resource Catalog Item dialog enables you to specify additional display options for the resource.

Element Description

attr.ATTRIBUTE_NAME

This field is displayed only for resources that are wrapped in a Show Detail Frame or Movable Box component. These attributes are used to set an initial value for the enclosing Show Detail Frame or Movable Box component's attributes; for example, attr.text defines the default title for the resource and attr.contentStyle defines the CSS style to apply for the resource. These are attributes that were explicitly defined on the resource at design time.

parameter.PARAMETER_NAME

This field is displayed only for resources that are wrapped in a Show Detail Frame or Movable Box component. These attributes are used to set an initial value for the enclosing Show Detail Frame or Movable Box component's parameters. These are attributes that were explicitly defined on the resource at design time.

Large Icon URI

Enter the standard URI path to an image to be rendered as an icon next to the resource name in the catalog. The image should preferably be 32 x 32 pixels in size. If you do not specify a URI, a placeholder icon is used.

Small Icon URI

Enter the standard URI path to an image to be rendered as an icon next to the resource when it appears in the Up menu in the resource catalog. The image should preferably be 16 x 16 pixels in size. If you do not specify a URI, a placeholder icon is used.

Subject and Keywords

Enter keywords to facilitate keyword searching of the resource catalog.

Tool Tip

Enter text to display when users hover the mouse over the resource in the resource catalog.

WEBCENTER_SERVICE_ID

Displays the identifier used when defining the WebCenter Portal tool or service. This field is displayed only for task flows related to WebCenter Portal tools or services.

New Attribute Name

Enter the name of an attribute that has been defined for the resource but not exposed in the dialog. You can also select an attribute name from the dropdown list.

In addition to the default attributes exposed through the Edit Resource Catalog Item dialog, you can expose any custom attributes built into a resource. You can provide the attribute name in this field, and specify a value in the New Attribute Value field.

New Attribute Value

Enter a value for the custom attribute that you specified in New Attribute Name field.

Add

Click to display the new attribute name/value pair along with the other fields in the dialog.

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 other fields.

Parameters

The Parameters tab of the Edit Resource Catalog Item dialog enables you to provide values for resources that support wiring, for example, portlets and task flows. You can also add custom parameters.

Element Description

New Parameter Name

Specify the name of a parameter to use for this resource.

New Parameter Value

Specify a value for the custom parameter that you specified in the New Parameter Name field.

Add

Click to display the new parameter name/value pair along with the other fields in the dialog.

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 other fields.

Related Topics

"Working with Resource Catalogs" in Building Portals with Oracle WebCenter Portal