I’d like to say something like
<meta name=“version” content="${sys.build.id or whatever}" />
In our page template, like I’ve done for http://www.ourhubbub.com/.
Is there a variable I can get at that has the build id -> 545 for example?
I’d like to say something like
<meta name=“version” content="${sys.build.id or whatever}" />
In our page template, like I’ve done for http://www.ourhubbub.com/.
Is there a variable I can get at that has the build id -> 545 for example?
Not sure if this is will help you:
Rx Technical Ref Manual 6.7
Chapter 7 (System Issues), pg 159 Rx Server Information
Information about the Rhythmyx server can be accessed using the method IPSRhythmyxInfo.getProperty(Key). The following keys can be specified:
Key Value : Returned Data
ROOT_DIRECTORY : The root directory of the Rhythmyx server.
LISTENER_PORT : The HTTP listener port of the Rhythmyx server (9992 by default).
LISTENER_SSL_PORT : The HTTPS port of the Rhythmyx server.
VERSION : The installed version of Rhythmyx, as a string.
Say you wanted the site id…then on the global template, in the header, you could do something like:
<meta name=“version” content="$!{sys.assemblyItem.getSiteId().getUUID()}"/>
In terms of an edition number…off the top of my head i’m not sure on the answer to that…but I don’t think the page template “knows” what edition is being run in order to generate the page (ie the parameters passed to it are the usual…which you can also put in the metatag…site id, folder id, revision, context, template id, publish)