17
Views
5
Comments
Can I get the Distribute Version Number and Version Code of the APP.
Question

Is there a function (API) in the app logic to get the Distribute Version Number and Version Code of the generated mobile apps?

I want to refer to the information in the red box within the app.



2020-11-25 10-45-32
Mostafa Othman
Champion

Hello @Takefumi Wakayama,

You can access these information from table App_Mobile_Config which is existing into system module

UserImage.jpg
Takefumi Wakayama

Thank you so much.

I was able to find the App_Mobile_Config table that exists in the system module.

So I have one additional question: where should I get the App_Mobile_Config Identifier when I use GetApp_Mobile_Config to get the data?

2020-11-25 10-45-32
Mostafa Othman
Champion
UserImage.jpg
Takefumi Wakayama


Sorry for the My bad explanation.

I believe that in order to execute GetApp_Mobile_Config, the argument must be set to a value of type "App_Mobile_Config Identifier".

Do you know where I can get the value for this argument?

2020-11-25 10-45-32
Mostafa Othman
Champion

In this case you may need to have a site property to store Id of Mobile Config table which will be different from environment to another so you will need to configure effective value of site property for each environment.

You can also include table Application from system module and create aggregate to return version number and code joining between two tables App_Mobile_Config  and Application on 

App_Mobile_Config.Application_Key   = Application.Key then add filter Application.Name = (your application name).

The second option will be more dynamic although you are using application name as static value.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.