Show Server on Web Page

Mindwatering Incorporated

Author: Tripp W Black

Created: 01/03/2005 at 11:29 PM

 

Category:
Notes Developer Tips
Java

This tip originally came from Dominux Consulting:

1. Add this Java code to a page's WebQueryOpen Agent:
doc.FieldName=session.SendConsoleCommand("Fountain","Show Server")

2. In the form, have the field in step 1 be CFD. Set to itself (or you can leave the field off of the form all-together).
Create a ComputedText spot with the following formula code in it:

tmp:=FieldName;
@Word(tmp;@NewLine;2)+"<br><br>"+
@Left(@Word(tmp;@NewLine;4);17)+"<br>"+@Right(@Word(tmp;@NewLine;4);17)+"<br><br>"+
@Left(@Word(tmp;@NewLine;7);17)+"<br>"+@Right(@Word(tmp;@NewLine;7);17)



previous page