Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Smart Notification
Template Modif.
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
chaoticist
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5185
People Online:
Visitors:
176
Members:
0
Total:
176
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Smart Notification
Template Modif.
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
popsdrown
New Member
Posts: 3
6/7/2006 1:54 PM
On the template for the Smart Notification, we would like to display a warning message depending on the value of the [hostname] token e.g. printing a warning when it is not a production smart notification.
We've tried using Javascript if statements but they do not interpret the value of the [hostname]:
if? [hostname] == "some host name" is always false.
The value of [hostname] prints at the bottom of the template, it just seems like we can't access its value in a conditional.
Would the hostname be a property of the document object where we could do something like
var hostname = document.foo ?
By the way, this is not one of the tokens listed in the documentation appendix on Templates.
John Henley
Senior Member
Posts: 3348
6/8/2006 2:01 PM
See solution here:
https://www.lawsonguru.co...tid/349/Default.aspx
You are not authorized to post a reply.