SmartPage Commands

SmartPage commands are special extensions to the HTML language that allow the placement of Netcool/Webtop components in web pages. They provide user validation and allow Netcool/Webtop applets to be very quickly added to an HTML page.


<!-- enable:SMARTPAGE -->
Instructs the Netcool/Webtop server that this page is enabled for SmartPage commands. This must be the FIRST line of text in the HTML page.

Back to summary


<!-- Validate:[acllist,redirect] -->
<!-- Validate:[acllist,%USERSHOMEURL%] -->

Instructs the Netcool/Webtop server to validate the user. If the user has not logged in, they will be asked to do so. The will be redirected to the login page. This must be the SECOND line of text in the HTML page.

Back to summary


<!-- insert:AEL[entities="entity1,entity2..",showinframe=boolean,cols=numcols,width=width,height=height] -->
<!-- insert:AEL[entity=entity,showinframe=boolean,width=width,height=height,transientname=name] -->
<!-- insert:AEL[filter=filtertext,view=viewname,metric=metric,metricof=metricof,showinframe=boolean,width=width,height=height] -->
Inserts an Active Event List applet in the HTML page.

  • example

    Back to summary


  • <!-- insert:AELMAPVIEW[map=map,showinframe=boolean,cols=numcols,width=width,height=height] -->
    Inserts an Active Event List applet for each entity in a map, in the HTML page.

  • example

    Back to summary


  • <!-- insert:MAPLET[mapname] -->
    <!-- insert:MAPLET[map=mapname,soundurl=soundurl] -->
    Inserts a map applet in the HTML page.

  • example

    Back to summary


  • <!-- insert:FILTERPAGE -->
    <!-- insert:FILTERPAGE[numcols=2,show lowest="false",type="lavalamp"] -->
    <!-- insert:FILTERPAGE[filters="filter1,filter2",bgcolor="color",bgimage="image",monitorwidth="width",monitorheight="height",action="action",url="url",target="target",soundurl="soundurl"] -->
    
    Inserts a map applet in the HTML displaying either all a user's filters or the comma separated list of user's filters. Parameters are optional. All user filters are displayed by default. The map will arrange rows of monitor boxes, using the user's preferences where appropriate.

    Optional parameters

    Monitor Box Preferences

    By default, the monitor box style on the created filter page adopts the logged in user's preferences. However, these preferences can be overriden by the administrator by explictly adding them to the FilterPage command as paramters.

  • example

    Back to summary


  • <!-- insert:TABLEVIEW[mapname/entityname/datasource] -->
    Inserts a static Event List in the HTML page.

  • example

    Back to summary


  • <!-- insert:USERSHOMEURL -->
    Inserts a user's Webtop home page URL. This can be used for creating say a link to the user's home page.

  • example

    Back to summary


  • <!-- insert:USERMAPLIST[type=listtype,target=targetframe] -->
    Inserts a user's map list in the HTML page. The name of each map is inserted as a hypertext link which can be clicked to show the map. The list of maps will is validated against the ACLs to which the user belongs. The user will only see maps which he/she is permitted to access.

  • example

    Back to summary


  • <!-- insert:USERNAME -->
    Displays the name of the user that is logged in.

  • example

    Back to summary


  • <!-- insert:USERSTATISTICS -->
    Inserts a summary of the User Monitor data in the HTML page. This is only available to administrators. The data is output in the form of two table rows that will need to be embedded in an HTML table.

  • example

    Back to summary


  • <!-- insert:USERSTIMEZONE -->
    Inserts a html selection list with timezone r data in the HTML page. This is used in $WEBTOP_HOME/config/system/changeuserprofile.html to make the timezone selection list. The timezone selected by defualt is depends on the property saved by the user.

  • example

    Back to summary