Browser Views

You can configure browser views to show the content of a web page directly in
NetOps Portal
. You can also configure browser views to update internal and external data dynamically.
HID_Modify_a_Browser_View
You can configure browser views to show the content of a web page directly in
NetOps Portal
. You can also configure browser views to update internal and external data dynamically.
Configure a Browser View
To show the content of a web page or application, configure a browser view.
Follow these steps:
  1. Specify a URL for the view.
    Use a URL for a web page that supports being an embedded iFrame.
  2. (Optional) Customize the URL parameters.
    Use URL parameters to add
    NetOps Portal
    data to the URL. These parameters support adding context-sensitive information, such as time range or group, to the URL. Use these parameters to provide specific information to OpenAPI applications.
  3. Set a height for the view, in pixels.
  4. Click
    Save
    .
    The web page or application that the URL references appears in the browser view window.
Customize URL Parameters
You can customize a browser view to your preference. When you configure a browser view, select parameters to add to the URL of the view. Each parameter is defined when the URL is accessed.
Add an identifier to the URL before each property. The identifier helps you to determine the meaning of each property in the URL.
The parameters that are available from the user interface appear in a drop-down with two columns. The first column shows the property. The second column shows the current values for the logged in user. The second column values are based on the current context and time on the system. The properties resolve in the following manner:
  • {Culture}
    Culture of the logged in user
  • {ItemDesc}
    Description of the item or group of the current context
    The context is specified at the top of the page or within the dashboard builder.
  • {ItemId}
    NetOps Portal
    item ID of the current item or group
  • {ItemIdDA}
    Data Aggregator item ID of the current item or group
    This parameter appears only when you have a Data Aggregator data source.
  • {ItemName}
    Name of the current item or group
  • {ItemSubType}
    Subtype of the current item or group
  • {ItemSubTypeName}
    Subtype name of the current item or group
    The subtype name is usually the same as the subtype, but not always.
  • {ItemType}
    Type of the current item or group
  • {ItemTypeLabel}
    Singular form of the item type label
  • {ItemTypeLabels}
    Plural form of the item type label
  • {ItemTypeName}
    Item type name
  • {Locale}
    Locale of the logged in user
    The locale is similar to culture, but has a slightly different format.
  • {ModelHandleSpectrum}
    Model handle from
    DX NetOps Spectrum
    for the device or interface
    This parameter is unavailable for groups. This parameter appears only when you have a
    DX NetOps Spectrum
    data source.
  • {PageSize}
    Number of items that are specified to display in the view
  • {Resolution}
    Data resolution in seconds
  • {ResolutionLabel}
    Data resolution in a descriptive text
  • {ServerName}
    NetOps Portal
    server name or IP address
  • {ServerNameDA}
    Data Aggregator server name or IP address
    This parameter appears only when you have a Data Aggregator data source.
  • {ServerPort}
    NetOps Portal
    server port
  • {ServerPortDA}
    Data Aggregator server port
    This parameter appears only when you have a Data Aggregator data source.
  • {TimeEndUTC}
    Number of seconds of the end of the time range (based on Unix time) at the top of the page
  • {TimeEndUTCExpanded}
    Expanded form of the end of the time range
  • {TimeSpan}
    Description of the time range that is specified at the top of the page
  • {TimeStartUTC}
    Number of seconds of the start of the time range (based on Unix time) at the top of the page
  • {TimeStartUTCExpanded}
    Expanded form of the start of the time range
  • {UserEmailAddress}
    Email address of the logged in user (if specified)
  • {UserId}
    NetOps Portal
    ID of the current user
  • {UserName}
    Current user name
  • {UserRoleId}
    NetOps Portal
    role ID of the current user
  • {UserRoleName}
    Role name of the current user
  • {UserSsoToken}
    SSO token for the current user
    This token can be used to log in to other data sources that honor SSO (for example,
    Network Flow Analysis
    ).
  • {UserTimeZone}
    Time zone of the current user
Example:
If you want aspects of your browser view to adjust dynamically, use custom URL parameters.
For this example, you want to display the content at the following URL:
http://
PC_host
:
port
/pc/apps/user/
appsubdirectory
/
MyPageFile.html
You can append the URL with the following URL parameters:
?id={ItemIdDA}&startTime={TimeStartUTC}&endTime={TimeEndUTC}
  • {ItemIdDA}
    This parameter resolves to the ID of the interface for the selected context page.
  • {TimeStartUTC}
    This parameter resolves to the start time selected in the time picker for the context page.
  • {TimeEndUTC}
    This parameter resolves to the end time selected in the time picker for the context page.
Follow these steps:
  1. Select a URL parameter from the drop-down list, and click
    Append to URL
    .
    The URL parameter is added to the end of the current URL in the URL field.
  2. Click the URL field, and enter an identifier before each parameter.
    Enter a ‘?’ before the first parameter. Enter a ‘&’ before each subsequent parameter.