Select language:

Creating iViews for New Web Forms

Context

You create a Web content template iView. You use the Web content template iView when creating Web content in a page.

Procedure

  1. In the portal, choose Start of the navigation path Content Administration Next navigation step Portal Content. End of the navigation path
  2. In the Portal Catalog, browse to Start of the navigation path Portal Content Next navigation step Templates Next navigation step WPC Templates Next navigation step iViews Next navigation step WPC Content End of the navigation path.
  3. In the WPC Content folder, create an iView for the Web content template of the new Web content type by copying an existing iView instance.
    1. Choose one of the standard iView instances (for example, Article ), right-click the object, and then choose Copy .

    2. Right-click the WPC content folder, and from the context menu choose Paste . The Copy wizard appears.

    3. Follow the on-screen instructions in the wizard. Choose Finish to execute the paste action.

  4. Configure the properties of the newly created iView.
    1. In the context menu of the iView you have created, choose Start of the navigation path Open Next navigation step Properties End of the navigation path.

    2. In the property editor of the iView choose Start of the navigation path Properties Next navigation step All End of the navigation path, and select All Properties in the Show Category dropdown list.

    3. Change the value for the following properties:

      Name

      Mandatory Change

      Value

      com.sap.nw.wpc.WebContentType

      Yes

      Enter the name of the Web resource type you created.

      com.sap.portal.ContentTemplate

      Yes

      Enter the name of the Web resource type you created.

      Name

      No

      Enter a name for your iView.

      If you do not change the value of the property, the display name of the iView remains the same as the display name of the source object from which you created the copy.

      You do not need to change any other properties.

    4. Save your changes and close the property editor.

  5. Optional: Change the ID of the iView according to your requirements.
    1. In the context menu of the iView, choose Change ID .

    2. Follow the on-screen instructions in the wizard. Choose Finish to execute the change.

  6. Copy the complete ID of the iView to your clipboard.

    The complete ID of the iView must be specified in the renderpath parameter when creating the new Web resource type. For more information, see: Working Through Configuration Steps for New Web Forms .

Results

The system displays the Web content template iView in the Content Template list in the Page Content panel.