Using Easy Selector

How to:

The Easy Selector provides a simple way to add content to a portal at run time, without opening the Resource tree. It also allows you to control which items users can access.

Top of page

Procedure: How to Use Easy Selector
  1. Sign in to WebFOCUS as a developer or an administrator.
  2. In the Resource tree, under the Content node, create a new folder.
  3. Populate this folder with the content that you intend to make available through the Easy Selector at run time.

    Note: Ensure that the folder only includes file content and no subfolders.

  4. Publish the folder.
  5. In the Resource tree, right-click the Portals node, and then click New Portal.
  6. Populate the fields of the New Portal dialog box and click OK.

    The Portal Designer opens.

  7. Right-click the page canvas, and click Page Layout.
  8. From the Choose a Layout menu, set the page layout to One Column, Two Columns, Three Columns, or Four Columns.

    Note: Easy Selector functionality is only available for columnar layouts. It is not available for the Single Area and Fluid Canvas layouts. In addition, the Easy Selector feature is not available for use with the Responsive container.

  9. With the page canvas selected, in the Properties panel, clear the Lock Page check box and select the Prevent Layout Change check box, as shown in the following image.

    This configuration allows users to add new content to a portal at run time, while preventing them from changing the column layout, which is important for the Easy Selector.

  10. In the Properties panel, click Container Defaults.

    The Container Defaults dialog box opens. Here you can customize the drop-down menu for the items that are displayed on the page at run time. Click OK to close the Container Defaults dialog box.

  11. Select a column.
  12. In the Properties panel, select the Show Easy Selector check box.

    The Browse For Folder dialog box opens and displays the same folder structure as the Content node in the Resource tree, as shown in the following image.

  13. Click the folder you that want to display inside the Easy Selector at run time, and then click OK.

    Note: You can change the folder location by clicking the Select Folder button and navigating to a different folder. It is not recommended to change the folder location after the end users have begun using the Easy Selector.

  14. Repeat steps 11-13 for other columns, if needed.

    Note: You can multiselect the columns by holding the Ctrl key.

  15. Click Save and close the Portal Designer.
  16. In the Resource tree, under the Portals node, right-click your new portal, and click Run.

    The portal opens, displaying the Add content button in each column, for which you have enabled the Easy Selector.

  17. Click the Add content button.

    The Select Item dialog box opens.

  18. Select an item from the list and click Add.

    The selected item opens and a new Add content button displays in the next column. This allows you to add the remaining items that are available to you. You can also multiselect items inside the Select Item dialog box, as shown in the following image.

    Additionally, you can replace an item on the page with any item from the Select Item dialog box. You can access the Replace menu option by clicking the arrow in the upper-right corner of the container panel, as shown in the following image.

    Note: The Add content button disappears and the Replace option becomes inactive after the last item in the Select Item dialog box is added to the page.