home
design & development
Lotus application development
print design
web site development
request a design quote
solutions & consulting
Notes and Domino application development
Lotus Domino administration
Securence Mail Filtering
UNITRENDS backup and recovery
Lotus Notes / Domino Apps
free Lotus Notes apps
hosting
web site hosting
Lotus application hosting
check your mail
request a hosting quote
publishing
media and publishing
sound
client services
help & support
Make Payment
Client Access - Workboard
billing & payment policies
copyright & liability policies
pricing & turnaround policies
privacy statement
contact
e-mail MW
get files
send files
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
×