Select the targeted Web page as described in Selecting the Source URL .
The capture functionality is only available if the iView fetch mode is set to server side. See URL iView Properties .
This procedure describes how you choose which area in the targeted Web page is displayed in the iView at runtime. You can choose to display either the entire Web page or a selected area within it. The portal provides you the tools to capture a selected area in its built-in browser window.
Note that when you select a restricted area in a Web page, you are selecting an HTML element or structure, not static text. At runtime, the iView displays fresh content which exists in the selected HTML element or structure.
The capture mechanism enables you to create iViews that adapt themselves on-the-fly to structural, formatting, and content changes that may occur in most Web pages. When a URL iView defined by a captured area is displayed, the portal can detect, with a high probability, if the element retrieved from the Web page matches the area originally captured. If there is no match (normally as a result of a change to the targeted Web page), the portal attempts to resolve the mismatch and rebuild the iView to display the intended element. This is a complex, but rapid process, which is virtually undetectable by the portal client.
The built-in browser does not support Web sites that require you to log on. You will not be able to use the capture tool to select a specific area in a Web page. In other words, you can display only an entire Web page in the iView.
Open the URL iView in the URL iView Editor.
The Content to Display in iView box specifies the type of captured area currently selected:
Full Web page: The entire contents of the selected Web page will be displayed in the iView at runtime.
Captured area: A restricted area within the Web page will be displayed in the iView at runtime.
To modify the captured area, click Capture . The portal's built-in browser window opens.
In the Capture tab you choose which area within the selected Web page to display in the iView at runtime. Do the following:
Task |
Description |
---|---|
Capture an area within a Web page |
|
Choose a sibling of a selected area |
Use the following icons in the Capture tab to choose an HTML element that is a sibling of the currently selected area.
Note that if the selected element does not have siblings, but has children, then clicking this icon will choose the first child element. If a sibling does not exist for the selected element, then the appropriate icon is disabled. |
Choose the child or parent of a selected area |
Use the following icons in the Capture tab to increase or decrease the focus of the currently selected area.
If a parent or nested child does not exist for the selected element, then the appropriate icon is disabled. |
Deselect a captured area |
To deselect a captured area, click Clear Selection , or click outside the highlighted area. Note
If no area is highlighted, the iView displays the entire Web page within the iView at runtime. |
Preview the captured area |
To preview the selected area of the Web page, click Preview Selection . This feature is intended as a means to verify the borders of the selected area and the HTML elements it contains. This preview does not suppress scripts running in the targeted Web page nor does it remove client events. Therefore, you may see artifacts in the preview of the selected area. If you correctly configure the advanced properties in the iView (see URL iView Properties ), these artifacts should not appear in the iView at runtime. Note
To preview the selection area as it would display for end users at runtime, use the Preview option in the iView Editor or use the Look and Feel screen. This preview renders the iView content in the portal look and feel, and also applies advanced properties you have enabled. See Defining the Look and Feel of the iView Content . |
Close the browser without applying changes |
Click Cancel in the Capture tab. |
In the capture mode, all hyperlinks and navigation controls present within the displayed Web page are deactivated. To modify the URL and to activate any present hyperlinks, go to the Browse tab. You can toggle freely between the Browse and Capture tabs.
Once you have selected the content to display in the iView, click OK in the portal's built-in browser window. If you read and accepted the onscreen disclaimer, you are returned to the URL iView Editor. The Content to Display in iView box specifies if the entire Web page or a restricted area has been selected.
Click Save .