Display version businesspace

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
jannes
Posts: 100
Joined: Tue Jul 02, 2019 12:22 pm

Display version businesspace

Post by jannes »

Is it possible to display the version of the businessspace ?
I expected it should be possible with something like :
DISPLAY MESSAGE Version() .. ?

= Jannes
Jaymer
Posts: 2450
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Display version businesspace

Post by Jaymer »

here's 1 way

Code: Select all

SELECT [DNAME]
      ,[VERSIONSTR]
      ,[EVENTTYPE]
      ,[EVENTTIME]
      ,[DESCR]
  FROM [AIM].[dbo].[DVHISTORIES] WHERE DNAME='OEM' and EVENTTYPE=4 order by EVENTTIME
This is a table in your Aware installation database - its that 1st DB you created when you installed aware.
You could write a Stored Procedure to go retrieve this (maybe every night, or based on a trigger on this table) and store it in one of your tables (like SystemSettings), then display that in a banner. Of course that # doesn't mean anything to your users, but if you needed to know this for some reason, this IS the exact # that displays in the Config Tool for that BSV.

The EventType field is for "Published". So you'd want to sort them and get the most recent 1 for the result of the SP.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Display version businesspace

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Display version businesspace

Post by aware_support »

Yes, you can use BSV_VERSION()

It's not documented, unfortunately, but we will fix that
Aware IM Support Team
Post Reply