Skip to Content

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.


To report this post you need to login first.

9 Comments

You must be Logged on to comment or reply to a post.

  1. Denny Cai

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

    (0) 
    1. 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

      (0) 
      1. Nikunj Goel

        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

        (0) 
  2. Nikunj Goel

    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

    (0) 

Leave a Reply