Show TOC

Procedure documentationCreating iViews for New Web Forms Locate this document in the navigation structure

 

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   Content Administration   Portal Content.  

  2. In the Portal Catalog, browse to   Portal Content   Templates   WPC Templates   iViews   WPC Content  .

  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   Open   Properties  .

    2. In the property editor of the iView choose   Properties   All  , 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.

Result

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