Capturing compile version # and date

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
williamgwilliams
Propeller Head
Posts: 72
Joined: Sun May 03, 2009 12:45 pm

Capturing compile version # and date

Post by williamgwilliams »

I'd like to create an "About" topic with each of my help systems that gives the date is was compiled and some version number that gets incremented at each compile (or that at least is unique to the compile).

Is there a built-in way of doing this in Flare? If the version number part isn't built-in, I'd settle for just the date. (The help systems are deployed to several servers, and this would give a way of verifying that the same version is on each server.

Thanks,

- Willie
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Capturing compile version # and date

Post by NorthEast »

You can easily insert the date; select Insert > Variable, then select System and LongDate / ShortDate.

You can set up a variable for your version number, which you could manually increment for each build; but I'm not sure how you'd increment it automatically.
williamgwilliams
Propeller Head
Posts: 72
Joined: Sun May 03, 2009 12:45 pm

Re: Capturing compile version # and date

Post by williamgwilliams »

Thanks very much, Dave.
TheGreatAndPowerfulOz
Sr. Propeller Head
Posts: 131
Joined: Mon Apr 24, 2006 12:52 pm
Location: Glen Mills, PA

Re: Capturing compile version # and date

Post by TheGreatAndPowerfulOz »

I know this is an old post, but maybe someone's still keeping an eye on it. :D

I use the following code in an "about.htm" page for my project. It works great, and it's completely hands-off (i.e., no manual updates required)!

Code: Select all

<p>My great online Help system</p>
<p style="margin-top: 2.00em;">Build date / time:</p>
<p>
    <MadCap:variable name="System.ShortDate" />
    <br />
    <MadCap:variable name="System.LongTime" />
</p>
The result looks like the following (I cause the "about.htm" page to pop up using Shadowbox, and I've dressed it up a bit with the icon):
about.png
Hope this helps someone!
You do not have the required permissions to view the files attached to this post.
Austin Wright

Flare 2022 r3 (18.2.8431.26678) :: TopNav HTML5 / PDF output
Post Reply