This guide shows how to create a popup document, which eg can be used as a search guide, in Web Viewer. The popup document may be configured to show in the menu, in the toolbar or on the canvas search page.
The popup document may be an html document and will slide in from the right side of the web viewer. Sample view is like below:
The function may be available from the menu, from the toolbar or from a link just under the canvas search area.
Follow these steps to add a popup document to Web Viewer.
<PopupDocumentSettings> <!-- Enable placement in menu. Add a key text in custom.text config for the display text in the menu. --> <PopupDocument Enabled="true" Placement="Menu" TextKey="Key_Text"> <Document identity="popupdocument"/> </PopupDocument> <!-- Enable placement in toolbar. Add a key text in custom.text config for the display text in the toolbar. --> <PopupDocument Enabled="false" Placement="Toolbar" TextKey="Key_Text"> <Document identity="popupdocument"/> </PopupDocument> <!-- Enable placement in canvas search. Add a key text in custom.text config for the display text in the canvas search. --> <PopupDocument Enabled="false" Placement="Page" TextKey="Key_Text"> <Document identity="popupdocument"/> </PopupDocument> </PopupDocumentSettings> |
Below is a samle document to upload into document storage.
Note how images are referred. They will need to be placed in Documents/Content/ folder on the site. |
The content by label feature displays related articles automatically, based on labels you choose. To edit options for this feature, select the placeholder below and tap the pencil icon.
|