15 How do I edit assets in Web View?

back to WebCenter Sites Help

To edit assets in Web View, see the following sections:

  • How do I edit the content of an asset in Web View?

  • How do I change Web Page Layout?

  • How do I change Content Layout?

  • How do I edit associations?

How do I edit the content of an asset in Web View?

Web View offers in-context editing, which means you can edit the content of an asset directly in its web page view. How the asset's web page layout (template) code is written determines the areas you can edit in Web View. Certain fields (such as Date and Locale fields) may only be accessible when working with an asset in Form View. Therefore, to edit the content of these fields you must switch to Form View.

To edit the content of an asset in Web View:

  1. From the Contributor interface, select the site containing the asset you want to edit.

  2. Find and open the asset.

  3. If the asset opens in Form View, switch to Web View.

    • In the asset's toolbar, click the Mode switch.

    • If the asset is not assigned to a template (web page layout), the Select Layout dialog opens. Select a layout and then click Apply.

      The tab re-displays the asset's Inspect view in Web View.

  4. Edit the asset:

    • In the asset's toolbar, click the Edit icon.

      The tab displays the Edit view of the asset in Web View.

    • Make your changes to the asset.

  5. Save the asset by doing one of the following:

    • In the asset's toolbar, click the Save icon.

    • In the menu bar, select Content, then select Save.

    WebCenter Sites saves the asset to the database, unless:

    • You have left out one or more required fields.

    • An entry or selection you have made in one or more fields is not permitted.

    If either of the above is true, WebCenter Sites displays an error message indicating the offending fields. Correct the errors, then save the asset.

  6. Inspect the asset by doing one of the following:

    • In the asset's toolbar, click the Inspect icon.

    • In the menu bar, select Edit, then select Inspect.

    The tab displays the Inspect view of the asset in Web View. When you inspect an asset, you cannot modify its content.

  7. If the asset is not preassigned to a workflow and you want to use the workflow feature, you can assign the asset to a workflow process.

  8. Preview the asset:

    • In the asset's toolbar, click the Preview icon.

      The tab displays the preview of the asset.

    • When you are done previewing the asset, click the Go Back icon.

      The tab re-displays the asset in Web View.

How do I change Web Page Layout

The web page layout (template) assigned to an asset determines the position of the slots and other editable areas displayed on the web page view of the asset. If you select a different layout for the asset, the slots and other editable areas are rendered in a different position, depending on how the web page layout (template) code is written. This section provides instruction on selecting a different web page layout (template) for an asset when working in Web View.

To change the web page layout of an asset:

  1. From the Contributor interface, select the site containing the asset whose web page layout you want to change.

  2. Find and open the asset.

  3. If the asset opens in Form View, switch to Web View.

    • In the asset's toolbar, click the Mode switch.

    • If the asset is not assigned to a template (web page layout), the Select Layout dialog opens. Select a layout and then click Apply.

    The tab re-displays the asset's Inspect view in Web View.

  4. In the asset's toolbar, click the Edit icon.

    The tab displays the Edit view of the asset in Web View.

  5. To change the web page layout (template) of the asset, do one of the following:

    • In the asset's toolbar, click the Change Page Layout icon.

    • In the menu bar, select Edit, then select Change Page Layout.

    The Change Page Layout dialog opens.

    Select the web page layout (template) you want to assign to the asset, then click Apply.

    WebCenter Sites updates the asset's web page layout to the layout you selected. The web page layout (template) you select determines the position of the slots and other editable areas of the asset.

  6. Save the asset by doing one of the following:

    • In the asset's toolbar, click the Save icon.

    • In the menu bar, select Content, then select Save.

    WebCenter Sites saves the asset to the database, unless:

    • You have left out one or more required fields.

    • An entry or selection you have made in one or more fields is not permitted.

    If either of the above is true, WebCenter Sites displays an error message indicating the offending fields. Correct the errors, then save the asset.

  7. Inspect the asset by doing one of the following:

    • In the asset's toolbar, click the Inspect icon.

    • In the menu bar, select Edit, then select Inspect.

    The tab displays the Inspect view of the asset in Web View. When you inspect an asset, you cannot modify its content.

  8. Preview the asset:

    • In the asset's toolbar, click the Preview icon.

      The tab displays the preview of the asset.

    • When you are done previewing the asset, click the Go Back icon.

      The tab re-displays the asset in Web View.

How do I change Content Layout?

Each slot is assigned a content layout (template). The content layout of a slot determines the appearance of the asset contained within the slot. When you change the content layout of a slot, a Slot asset is created and stored in the WebCenter Sites database. When you approve the asset, you must also approve the Slot assets associated with that asset. This section provides instructions for changing the content layout (template) of a slot.

To change the content layout of a slot:

  1. From the Contributor interface, select the site containing the asset whose slot's content layout you want to change.

  2. Find and open the asset.

  3. If the asset opens in Form View, switch to Web View:

    • In the asset's toolbar, click the Mode switch.

    • If the asset is not assigned to a template (web page layout), the Select Layout dialog opens. Select a layout and then click Apply.

    The tab re-displays the asset's Inspect view in Web View.

  4. In the asset's toolbar, click the Edit icon.

    The tab displays the Edit view of the asset in Web View.

  5. Change the content layout (template) of a slot containing an asset:

    • Click the slot whose content layout (template) you want to change.

      The slot toolbar opens.

      If the slot is multi-valued, two or more slots become highlighted and the toolbar displays only the Edit and Manage options. Click the Edit option to edit the individual slots within the multi-valued slot. Click a slot to display its toolbar.

    • In the slot toolbar, click the Change content layout option.

      Note:

      If you do not see the Change content layout option in the toolbar, stop here. The slot does not support this type of editing.

      The Change Content Layout dialog opens.

    • Select a layout and then click Apply.

      The content contained within the slot is shown with the selected layout.

  6. Save the asset by doing one of the following:

    • In the asset's toolbar, click the Save icon.

    • In the menu bar, select Content, then select Save.

    WebCenter Sites saves the asset to the database, unless:

    • You have left out one or more required fields.

    • An entry or selection you have made in one or more fields is not permitted.

    If either of the above is true, WebCenter Sites displays an error message indicating the offending fields. Correct the errors, then save the asset.

  7. Inspect the asset by doing one of the following:

    • In the asset's toolbar, click the Inspect icon.

    • In the menu bar, select Edit, then select Inspect.

    The tab displays the Inspect view of the asset in Web View. When you inspect an asset, you cannot modify its content.

  8. Preview the asset:

    • In the asset's toolbar, click the Preview icon.

      The tab displays the preview of the asset.

    • When you are done previewing the asset, click the Go Back icon.

      The tab re-displays the asset in Web View.

How do I edit associations?

When working with an asset in Web View, you can edit its associations by adding an asset to an empty slot, replacing an asset currently displayed in a slot with a different asset, repositioning the assets displayed in a multi-valued slot, and removing an asset from a slot.