Portal Components

In this section:

A portal is made up of different components, such as a Menu Bar, navigation area, and banner. This topic describes the different components of a portal and their properties.

Portal

The Portal, while not a component itself, does have properties that you can set.

The properties are:

Menu Bar

The Menu Bar is the collection of links found either in the top banner, or in the top or bottom bar.

The Menu Bar has the following properties:

Navigation

The Navigation area is located on top of pages. The properties panel for this component lets you choose if the Style tab is styling the Buttons or the Area (non-button space in the Navigation section).

Additionally, the following are the properties of the navigation area:

Note: If the Hide New Page option is enabled and the Hide Link to Page option is disabled, the run-time New Page button opens the Open dialog box, where you can link to an existing page. If the Hide Link to Page option is enabled and the Hide New Page option is disabled, the run-time New Page button opens the Add Page dialog box. The Link to Page button is not displayed in the Add Page dialog box. If both Hide New Page and Hide Link to Page options are enabled, the New Page icon is not displayed in the navigation area at run time.

Banners

Banners are areas that are visible above the pages of the portal.

The following are the properties of a banner.

Portal Pages

Portal pages are the main content area of a portal. The default page, when a user loads the portal, is the portal page that was visible in the Portal Designer when you last saved the portal. You can rearrange portal pages using a drag-and-drop operation.

The page title has a shortcut menu that can be used to rename, rearrange, change the page layout, delete the page, add a new page, or access hidden content on the page. Right-clicking the page itself displays the Page Layout and Hidden Content option.

The following are the properties of a page.

Columns

Columns can be found in both banners and portal pages. Columns have the following properties:

Logo

The Logo is found in the top banner of the portal. By default, a WebFOCUS logo appears. You can replace it with your own logo or remove it completely.

A logo has the following properties:

Containers

There are five types of containers. They are:

Panels

In this section:

The panel container holds a single piece of content, as shown in the following image.

The panel consists of three sections:

If you hover over a panel, the Change Panel Type button appears, as shown in the following image.

Container Selection Icons

This button opens a menu, where you can select a different type of panel.

Note: When adding pages created in the WebFOCUS Designer, the Change Panel Type button opens over the Refresh and Filter options for the page. However, when you run the portal or portal page, these options are accessible.

To change the title of the panel, right-click the title bar and click Change Title, as shown in the following image.

Panel Title Bar

Panel Properties

The properties for all panel types are:

  • Properties Tab. Contains the properties that apply to the panel.
    • Size. In a single area layout, this is both height and width in pixels. In column-based layouts, this is height only. You can set the height, in pixels, to Auto, Dynamic, or a numeric value. The Dynamic height option is only available when you use a responsive container.
    • Responsive Properties. Opens the Responsive Panel Properties dialog box, where you can edit the layout of the responsive container.
    • Behaviors. You can configure how the panel behaves. By default, all options are on. The options that require a menu click are available by hovering over the title bar and accessing the menu at the upper-right (in accordion and tabbed containers, each area has a menu as well). The options are:
      • Move. If selected, allows you to move a panel on a page at run time.
      • Resize. If selected, allows you to resize a panel at run time.
      • Minimize. Adds the Minimize option to the panel drop-down menu.
      • Maximize. Adds the Maximize option to the panel drop-down menu.
      • Refresh. Adds the Refresh option to the panel drop-down menu.
      • Hide. Adds the Hide option to the panel drop-down menu.
      • Delete. Adds the Delete option to the panel drop-down menu. When a user deletes a panel, they delete it only from their version.
      • Show Comments. Displays comments on a panel, and adds the Show/Hide Comments option to the panel drop-down menu, if selected. This option is only available for collaborative portals.
    • Appearance. You can control the following options:
      • Hide Panel. When this option is selected, the panel is not initially visible. The user can add it by clicking Hidden Content in the page shortcut menu or the Menu Bar. You can use the Hidden Content feature to give the user a choice of widgets to view on their page.
    • Freeze Container. Prevents users from adding content to and removing content from the container at run time. This option also restricts any interaction with the container at run time except minimizing, maximizing, and restoring the panel to its original size. This option is not available when the Lock Page option is selected.
    • Show Easy Selector. Activates the Easy Selector function at run time.
    • Select Folder. Opens the Browse For Folder dialog box, where you can select a folder that is available from the Easy Selector option at run time.
  • Title Tab. Contains the properties that apply to the title bar of the panel.
    • Title. This is the text displayed in the title bar. When you add content, it automatically changes to the current title of that content. You can edit this field to override the automatic change.
    • Panel Icons. Works just like the portal and page icon, except that you can turn it on or off. It is disabled by default.
    • Change Image. Allows you to select a different image for the icon.
    • Appearance. You can control the following options:
      • Hide Title Bar. You can hide the title bar to save space. This feature is very useful when you have only a single piece of content on a portal page.
      • Show Menu Icons. Determines whether the icons that display with the options in a container shortcut menu are visible.
  • Content Tab. Contains the properties for a content item that is displayed inside the panel.
    • Content Area. The properties for the Content Area differ based on the type of content. A blank panel has a blank properties panel.
    • Auto Refresh. If enabled, refreshes the content automatically. This property is off by default. When it is enabled, the default time is 30 seconds.
    • Dynamic Report Styling. When Dynamic Report Styling is enabled at the portal level, this box is checked for a piece of content by default. To disable Dynamic Report Styling for a specific piece of content, clear this option.
  • Tabs/Areas Tab. Contains the properties that apply to tabs and areas. This tab is only visible in the properties panel of a tabbed or accordion container. Here you can style different areas of the container by selecting Buttons or Bar. You can also hide the new tab button from a tabbed container, or the new area button from an accordion container, to restrict adding more tabs and areas to this container at run time.

Accordion Container

The accordion container can hold more than one piece of content, as shown in the following image.

Accordion Container

In the preceding image, notice how the chart fits perfectly in the container. WebFOCUS InfoAssist has an option to AutoFit charts. When enabled, it accepts the sizing from the portal. This prevents the person who develops the chart and the person who uses it from having to coordinate sizing. Additionally, you can easily resize the container and see the entire chart.

The title bar and content area properties are the same. The overall properties have an additional section labeled Area.

In the Area section, you can use the icons in the order in which they appear to add, rename, delete, and reorder the areas. You can also create a new area using the New Area bar in the container or delete containers using the menus. You must use the Properties panel to rename or reorder the areas.

Note: When you click the New Area bar multiple times to add new areas, you may need to resize the container to view the bar, as it could be covered by newly created areas.

There is also an additional Properties panel, the Pane Title Bars, which is accessible only through the breadcrumb trail. This feature lets you style the title bars of the areas. They are all styled together, but you can style the different states to distinguish the currently active one from the one on which the mouse pointer is resting.

Tabbed Container

The tabbed container can hold more than one piece of content, as shown in the following image.

Tabbed Container

The tabbed container has all the same properties as the accordion container. Instead of the Pane Title Bars properties, it has a property panel called Tab Bar. You can access this property panel by clicking it.

Unlike the Pane Title Bars, it is not blank. You can choose to style the buttons or the bar. This feature is similar to styling the Navigation buttons versus the Navigation area.

Responsive Container

In this section:

The responsive container is designed to help you build a responsive portal that automatically adapts to different screen sizes and mobile devices, providing an optimal viewing experience for users everywhere. You can build your responsive portal on your desktop, and make it available to users on different platforms. The following image shows an example of a responsive portal displayed on a desktop, tablet, and smartphone.

The responsive container intuitively changes its layout when you change the size of your browser. The default width and height of the container, and the inserted items, are pre-configured to offer the best positioning of the elements on the screen. You can manually change the dimensions of the items in the Responsive Item Properties dialog box. You can also change the layout options in the Responsive Panel Properties dialog box.

Responsive Item Properties

The Responsive Item Properties dialog box provides options to change the dimensions of an individual item within the responsive container. You can access the Advanced Responsive Item Properties dialog box at design time by clicking the Responsive Properties button in the property sheet.

The properties for a responsive item are:
  • Custom CSS Classes. Enables custom CSS classes for the item.
  • Width. Defines the width of the item.
  • Height. Defines the height of the item.
  • Margin. Defines the space between the adjacent items.
  • Shrink. Defines the ability of the item to shrink if necessary.
  • Grow. Defines the ability of the item to grow if necessary.
  • Basis. Specifies the initial size of the item, before any available space is distributed according to the responsive factors.
  • Minimum Width. Sets the minimum width of the specified element. This setting overrides the Width setting.
  • Maximum Width. Sets the maximum width of the specified item. This setting overrides the Width setting.
  • Minimum Height. Sets the minimum height of the specified item. This setting overrides the Height setting.
  • Maximum Height. Sets the maximum height of the specified item. This setting overrides the Height setting.
  • Self Align. Provides access to the following options:
    • Auto. Intuitively places the item in the best available space inside the responsive container.
    • Start. Aligns the item to the left side of the responsive container.
    • End. Aligns the item to the right side of the responsive container.
    • Center. Aligns the item to in the center of the responsive container.
    • Stretch. Stretches the item to fill the available space inside the responsive container, while respecting width and height constraints.
    • Baseline (text). Aligns the baseline of text inside the responsive container.

Note: In a responsive portal, setting fixed dimensions for items is not recommended, because the viewport width and height continually change from device to device. Responsive layouts need to adapt to this change, whereas fixed dimensions create too many constraints. For this reason, you must only set a range between minimum and maximum width and height, defining an amplitude with which the item can vary in size.

Easy Selector Container

The easy selector container provides a simple way to add content to a portal at run time, without opening the Resources tree. It also gives you the option to control which items users can access. When you insert an easy selector container into a page at design time, the Browse For Folders dialog box opens, as shown in the following image. Here, you can select a folder that users can access at run time.

Easy Selector Container

To change a target folder, click the Change Folder button in the Properties panel.

Content

You can add content to a portal in a few ways. The first way is to use the ribbon. Navigate to the Insert tab and choose a type of content in the Content group. The second way is to insert a blank panel, area, or tab, and use the WebFOCUS Resources option to populate it. The Resources tree opens, allowing you to drag content into the portal.

Note: When you click and drag one or multiple resources or folders from a tree to a blank page, a tabbed container is created, showing each resource. For more information, see Tabbed Container.

The other four options (Image, Resource Tree, Portal List, and Text) place their content in the content area that is selected, if applicable. Alternatively, they create a new panel with the content in the current page or banner that you are on.

When you add Insight-enabled content to a portal page, it will run as a standard HTML5 chart. An Explore with Insight icon displays, as highlighted in the following image.

You can view the content in Insight mode by clicking the Explore with Insight icon. Content opens in a new browser tab.

TIBCO WebFOCUS Resources

In this section:

The WebFOCUS Resource option opens the Resources tree on the right-hand side of the window. The tree shows you the content stored in the WebFOCUS Repository. You can access this content in the Content section of the tree. Alternatively, you can find a resource that you marked as a Favorite.

Depending on security, you may also have access to the WebFOCUS Reporting Servers section to manage metadata. You cannot insert a report that is stored on the WebFOCUS Reporting Server into a portal.

The Resources tree is docked on the right. When it is docked, you can keep it open, close it, or unpin it so that it collapses to the side. The Resources tree is shown in the following image.

Portal Designer

URLs

A URL is a link to a website. To create one, right-click a folder in the Content section of the tree, point to New, and click URL. In the Create URL dialog box that opens, type a display title, a file name, and the URL itself. Optionally, you can provide a summary that is displayed in a tooltip when the mouse pointer rests on the URL in the tree.

If you insert a URL inside the portal, be aware that some sites may not work, as their owners may not allow them to run inside a frame. Internet Explorer will show a message. Firefox® and Chrome™ browsers display just a blank frame.

Resources Tree

You can insert a Resources tree to allow users to perform activities such as run content, create content, and schedule content. In addition to the tree nodes shown in the pop-out tree, you can also choose to show a node named Portals, which lists all the portals that the user can access.

Note: If you place a Resources tree into a column (which is a percentage of the whole horizontal size), it cannot be resized.

Click the Filter button to access the Filter option. The Filter feature is not a search feature. To access search, right-click the Workspaces node or any folder in it, and click Search. As you browse through the tree, the filter returns only items that meet the filter criteria.

Note: Folders published from the WebFOCUS Portal Designer or Portal Page Designer display as published in the panel, but display as private in the Resources tree on the Legacy Home Page. Refresh folders in the Resources tree to display them as published.

When the Resources tree is placed inside a panel, the following properties display in the Properties panel, in the Content tab:

  • Resources tree

From the following list, choose which sections of the tree to show:

  • Filter
  • Content
  • Favorites
  • Reporting Server
  • Portals
  • Change Management

    By default, all sections are enabled. The enabled sections appear for any user that has security access to those sections. A portal designer can deny access to a section by hiding it, even from a user who has access, but a designer cannot grant access to a user who does not have access.

  • Hide Scrollbar. When selected, this option removes the horizontal scrollbar from the Resources tree. This feature improves usability of the component at run time and on mobile devices.
  • Run Location. You can choose to run content in a window or in a panel in the portal. WebFOCUS Reporting Server content always runs in a new window.

    When the first option is set to Window, there is a second option named Window, giving you the ability to choose a New Window or name the window in which to run.

    When the first option is set to Panel, you can choose to create a new panel, accordion, or tabbed container, as well as choose from one of the existing content areas on the page. In the case of an existing accordion or tabbed container, choosing the title of the container itself creates a new area or tab in that container. Choosing an existing area replaces that area.

    Note: If the Freeze Container option is selected on the target panel, the content will still run, but all additional changes to that panel will be restricted.

Portal List

To create a portal listing, either insert a Resources tree and show only the Portals section, or insert a Portal List. The difference is that in a Resources tree, the shortcut menu options are available for each portal and for the Portals node, while in a Portal List they are not available. Also, in the Resources tree the Portals section is not expanded, by default, while in a Portal List, it is expanded.

The Portal List has properties that display in the Content tab of the Properties panel, such as:

  • Portal List. Allows you to change the name of the panel, in which the Portal List is displayed.
  • Hide Scrollbar. Removes the horizontal scrollbar from the Resources tree, when selected. This feature improves usability of the component at run time and on mobile devices.

Text

The last type of content is text. The text area is simple to use. All styling is applied to all the text. You cannot style individual words or characters.

The text area has no properties other than the content type and the Area ID.