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:
Jeffin Joy
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
48
Members:
0
Total:
48
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Performance Management
Smart Notification
Template Modif.
Please
login
to post a reply.
1 Replies
0
Subscribed to this topic
15 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
popsdrown
New Member
Posts: 0
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
Posts: 3366
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
6/8/2006 2:01 PM
Split
See solution here:
https://www.lawsonguru.co...tid/349/Default.aspx
Please
login
to post a reply.