locator env.cmsserveraddress() locator env.cmsserveraddress(locator item)
This example generates an HTML table containing all iXperion environment information available.
<h1>iXperion Information</h1> <table> <tr><th colspan="2">About</th></tr> <se:format inputdata="{env.about()}"> <se:rowformat> <tr> <td>{string.capitalize(this.field(key))}</td> <td>{this.field(value)}</td> </tr> </se:rowformat> </se:format> <tr><th colspan="2">Server Info</th></tr> <tr> <td>Server Address</td> <td>{env.serveraddress()}</td> </tr> <tr> <td>Default Server Address</td> <td>{env.defaultserveraddress()}</td> </tr> <tr> <td>CMS Server Address</td> <td>{env.cmsserveraddress()}</td> </tr> <tr> <td>Server Name</td> <td>{env.servername()}</td> </tr> <tr><th colspan="2">Application Details</th></tr> <tr> <td>Executing Assembly</td> <td>{env.getexecutingassembly()}</td> </tr> <tr> <td>Identity:</td> <td>{env.identity()}</td> </tr> <tr> <td>Is Interactive</td> <td>{env.isinteractive()}</td> </tr> <tr> <td>Memory Usage</td> <td>{env.memoryusage()}</td> </tr> <tr> <td>Process ID</td> <td>{env.processid()}</td> </tr> <tr> <td>Thread ID</td> <td>{sys.thread.id()}</td> </tr> <tr><th colspan="2">Page Cache</th></tr> <se:format inputdata="{env.pagecacheinfo()}" whitespace="remove"> <se:rowformat> <tr> <td>{string.capitalize(this.field(key))}</td> <td>{this.field(value)}</td> </tr> </se:rowformat> </se:format> <tr><th colspan="2">Services</th></tr> <tr><td colspan="2">{env.servicesinfo()}</td></tr> <tr><th colspan="2">Host Headers</th></tr> <se:format inputdata="{env.hostheaders()}" whitespace="remove"> <se:rowformat> <tr> <td>{string.capitalize(this.field(HostHeader))}</td> <td>Channel: {this.field(Channel)}, StartPage: {this.field(BrowseStartpage)}</td> </tr> </se:rowformat> </se:format> </table>