Forum Discussion
Wil_Schultz_101
Nimbostratus
Feb 13, 2012How can I print the contents of a data group?
I'd like to use a data group to hold a string variable for my maintenance page, and then write an internal script that will go and change this data group whenever we do maintenance.
So I've got a string type data group with the name "maintenance_time", inside there's a string "time" with a value of "1:00am".
My maintenance rule us using HTTP::respond to print some nice html, in the content I'd like to insert the time using the $maintenace_time data group.
- Wil_Schultz_101
Nimbostratus
Of course I fiddle with it for an hour without success, post here and figure it out right away.set mytime [class lookup time maintenance_time]
- hoolio
Cirrostratus
Isn't that the way it usually works? :)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects