The built-in HTTP server has the ability to interpret certain special embedded tags and substitute internal values. They have the form <%tag%>
where "tag is a key word from the list below. This is also available in the procedure manager to augment the values presented to operators when a procedure runs and includes operator interaction.
Note: user's credentials must have the authority to access various tags. Most notably the object property tag which can provide access to any property of any object with the proper credentials.
Available Special HTML Tags
Tag Name | Description |
---|---|
AccountFirstName | First name of the current user |
AccountLastName | Last name of the current user |
AccountFullName | Full name of the current user including middle name (if provided) |
AccountFullInfo | Listing of all the user's current information (if provided) |
AccountEmergencyContactInfo | Emergency contact for the current user (if provided) |
OperatorSupervisorName | Supervisor's (account owner's) full name |
OperatorSupervisorCellular | Supervisor's current cellular (mobile) contact number (if provided) |
[PropertyName] GUID=[ObjectGUID] | Any property value of any object. Note: the property name has no spaces (current user must have credentials to access the object). See example code below. |
Code Examples
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Strasis Systems HTML Tag Example</title>
</head>
<body>
<div>Welcome <%AccountFirstName%>.</div>
<div>Current system load is <%TotalSystemLoading GUID={759161EB-1000-0000-0000-000000000000}%>.</div>
</body>
</html>