In this article we will discuss some HRNL tags and their relevant attributes which can be useful for iViews. For a complete list of tags and their attributes please refer the portal documentation.
Useful HRNL Tags
Retrieves information about the SAP Portals server host machine. Every machine has identifying information, such as a name, an IP address, a port number, and so on. The DBHOST tag retrieves information about the machine on which the SAP Portals server resides.
Retrieves information about the currently logged-in user. The DBUSER tag can be used in any template to display user parameters.
Retrieves the value of the user password. Retrieves the encrypted value of the user password
These tags can be passed as parameters to an ASP file or directly used within an ASP file as long as the file is executed via the portal server (As in an iView) Example if you wanted to retrieve or display customized information based on the user logged in, you could assign a variable in vbscript
Avoid hard-coding path URLS
When creating custom iViews, if you need to point to a specific file residing under PORTAL\COMMON folder, you could put <DBHOST PROTOCOL WEB WEB_SERVER_FOLDER COMMON>/myapp/myapp.asp. This way you avoid hardcoding paths and its simple to import and use the iView.