Skip to Content
Author's profile photo Former Member

Design Studio – System Information methods

As we all know, design studio uses the BIAL language, which is similar to Java Script.

So in this document, lets discuss the methods available in BO Design studio 1.1 to display the system Information.

Note: Below are the System information methods I have found till now, more methods may be available in further releases.

Those will be updated later

Methods and their Functions:

1. To populate the current user                …. <Datasource>.getInfo().user

2. To populate today’s date                     …. <application>.getInfo().dateNow

3. To populate Name of the application     …. <application>.getInfo().name

4. To populate system details                  …. <Datasource>.getInfo().system

5. To populate last refreshed date of backend (BW or HANA )      ….. <Datasource>.getInfo().lastDataUpdate

6. To populate last data update date of backend (BW or HANA)   ….. <Datasource>.getInfo().lastRefreshedAt

Example:

1.PNG

Further available methods (if any) will be updated in next part.

Please note that these methods are only available from 1.1 version.


Assigned Tags

      10 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Good. But <Datasource>.getInfo().user never works for me. always display "UNKNOWN". Is there something I should do first? Thanks

      Author's profile photo Former Member
      Former Member

      I can confirm this - <Datasource>.getInfo().user still returns "UNKNOWN" as the user name...

      Author's profile photo Karol Kalisz
      Karol Kalisz

      Hi,

       

      in local mode it returns unknown as there is no logged user in the "local" environment.

      This method should work correctly on the platform deployments.

       

      Karol

      Author's profile photo Former Member
      Former Member

      Thanks Karol, you are absolutely right.

      Author's profile photo Sathyan Pari
      Sathyan Pari

      Hi,

       

      Any idea for displaying system time in the dashboard?

       

      Regards,

      Sathyan

      Author's profile photo Karol Kalisz
      Karol Kalisz

      one way would be by using the Real Date component from the free CSN SDK extensions.

      Design Studio SDK: Real Date Component

       

      var time = REALDATE_1.getCurrentTime();

       

      output:

       

      Karol

      Author's profile photo Former Member
      Former Member

      Hello,

       

      I also used <DS>.getInfo().system but it always returns "CUID" of the application but i want to know the current backend BW system to set URL according to development/quality/production dynamically....

      is it possible with Design studio with BW system on BI platform?

       

      Many thanks in advance for your help,

       

      Regards,

      Nikunj

      Author's profile photo Former Member
      Former Member

      Hello,

       

      I also used <DS>.getInfo().system but it always returns "CUID" of the application but i want to know the current backend BW system to set URL according to development/quality/production dynamically....

      is it possible with Design studio with BW system on BI platform?

       

      Many thanks in advance for your help,

       

      Regards,

      Nikunj

      Author's profile photo Martin Pankraz
      Martin Pankraz

      Hi Nikunj,

       

      Please have a look at the following post API to get current BO server name?. I believe if you are running only one BO server or the CUID are all the same for the different BO servers you will need to use a SDK component.

       

      Check out our free open-source SCN Client Information Component Design Studio SDK: Client Information Component for some reference.

       

      Kind regards

      Martin

      Author's profile photo Roberto Wrembel
      Roberto Wrembel

      Dear Martin / all,

       

      I know I am late to the party.

      Is for Lumira Designer this "Client Information Component" available? I expected to find this in https://github.com/org-scn-design-studio-community/lumiradesignercommunityext but this not given.

       

      Any ideas?

      Regards

      Roberto