Current filter:
                                You should refresh the page.
                                  • [DevExpress Support Team: CLONED FROM T356939: FAQ: New XAF HTML5/JavaScript mobile UI (CTP)]
                                    Last time when I tried the XAF mobile CTP release I found that server URI was hard coded in the package. I would like to check whether this issue is resolved or not. In One of the comments I noticed that URI of the production server is now being packaged with the app but my scenario is that I have several clients who are running my XAF and if I have to provide them with a mobile app then how can I package it without any URI and let the user selects/types the URI on his app and then the app connects to the corresponding server.

                                    [Updated]

                                    Just clarify my requirements i will use an example.

                                    I have a web XAF application called JAK
                                    I have 5 customers, for each customer i have deployed the JAK independently on physically separate web servers along with their own databases.

                                    Now, Let say:
                                    Customer #1 want to logon to his JAK app then he will use COMP1.JAK.COM URI
                                    Customer #2 want to logon to his JAK app then he will use COMP2.JAK.COM URI, and so on...

                                    Now if want to build an XAF mobile app for my JAK project and post it on Google Play to allow my customers to download and connect to their respective JAK app servers then how would i do that if the server URI is hardcoded in the mobile package.

                                • Phan Sin Tian 01.04.2017

                                  Any change for the production version to be ready in the near future?

                                • Uriah (DevExpress Support) 01.04.2017

                                  @Mohammed,
                                  Currently, the capability to specify a custom web service that will be used to retrieve data is not supported. On the other hand, it is not quite clear how this feature should be implemented. An XAF Mobile application requires the data service to provide all the required resources, and therefore you will probably always use the service that was included into the XAF Mobile project by default. It is difficult to imagine the situation when one needs to deploy different data service instances for different users. Thus, I am afraid that I do not fully understand your requirements. Would you please describe in greater detail the scenario in which you want to use the requested feature?

                                  @Phan
                                  We have not yet scheduled the release date for the production-ready version. In fact, we are currently working on the Beta version of XAF Mobile.

                                • Farooq 01.04.2017

                                  Hi Uriah,

                                  Just clarify my requirements i will use an example.

                                  I have a web XAF application called JAK
                                  I have 5 customers, for each customer i have deployed the JAK independently on physically separate web servers along with their own databases.

                                  Now, Let say:
                                  Customer #1 want to logon to his JAK app then he will use COMP1.JAK.COM URI
                                  Customer #2 want to logon to his JAK app then he will use COMP2.JAK.COM URI, and so on...

                                  Now if want to build an XAF mobile app for my JAK project and post it on Google Play to allow my customers to download and connect to their respective JAK app servers then how would i do that if the server URI is hardcoded in the mobile package.

                                  Hope this is clear for you.

                                • Dennis (DevExpress) 01.05.2017

                                  Hello Mohammed,

                                  Please pardon our delayed response. We need some additional time to work on your inquiry. We will let you know if we require additional information.

                                • Farooq 01.05.2017

                                  Thanks Dennis, please take your time, no issues...

                                1 Solution

                                Creation Date Importance Sort by

                                UPDATE
                                We published a Knowledge Base article demonstrating how to update the ServiceUrl option after a Mobile application starts: How to change the default data service URL in XAF Mobile applications at runtime. This solution is available starting from version 17.1.5.

                                OLD ANSWER
                                Thank you for your patience. At the moment, there is no easy solution except for building a mobile package for each user separately and distributing them without using Google Play Store (Alternative Distribution Options). We will research the possibility of providing a better solution in future versions of XAF Mobile.

                                Show all comments
                                • José Enrique 01.11.2017

                                  Hi, I also think Mohammed request is a must. Usually XAF applications are intended to be "products", and related apps should be also products that "build once", deliver to your customers and finally configure settings. It has no sense that you have to manage with 'n' customized applications, buildings and deployment process for each customer... Actual XAF mobile arquitecture doesn't suits with this and seems to be only appropiate for cloud stages (with one instance and as many databases as customers) or custom projects.

                                  Regards,
                                  JE.

                                • Uriah (DevExpress Support) 01.11.2017

                                  Thank you for your feedback, José Enrique. I have forwarded it to our R&D team.

                                • José Enrique 05.01.2017

                                  Any updated with this? Will it be implemented in new 17.1 version?

                                • Dennis (DevExpress) 05.02.2017

                                  @Jose: Even though we do not have any updates in this regard, we continue keeping this request on our radar.  I will also elaborate on the main priorities we set for the Mobile UI in my answer to you in the T437659 ticket, if you do not mind.

                                • Geoffrey Jones 08.06.2017

                                  Hi DevExpress,

                                  I have seen other vendor's mobile apps accommodate the multi-tenant/single mobile app distribution requirement by allowing the user to enter a tenant specific URL when first configuring the app. After then the URL is remembered in local storage so that the user does not have to re-enter. Would this be a possible solution?

                                  Please refer to the attached for a sample implementation for a third-party app which we use at our company.

                                  PS. We would also require a solution for this issue to be able to use XAF mobile in the future.

                                  Cheers,

                                  Geoff.

                                • Vladimir L (DevExpress) 08.07.2017

                                  Hi Geoffrey,

                                  Thank you for the suggestion. We'll take into account your solution.

                                  Thanks,
                                  Vladimir

                                • Uriah (DevExpress Support) 08.29.2017

                                  We are happy to inform you that in the next version of XAF Mobile we will add the capability to change the Data Service URI. You can already try this solution in your projects, because we made it available for early testing. For more details, refer to this article: How to change the default data service URL in XAF Mobile applications at runtime. Your feedback is greatly appreciated.

                                • Martin Praxmarer - DevExpress MVP 08.29.2017

                                  Hi Uriah - looks very promising - but one question. I would love to implement Option 2 - the user can enter the URL (or scan an qrcode) - but i guess currently the user has to enter the URL each time - i dont see that you store the URL somewhere? So are there any local user settings available on the device or should one store such data after logon on the user business object?

                                  thx
                                  Martin

                                • Uriah (DevExpress Support) 08.29.2017

                                  Hi Martin,

                                  Once the user enters the URL, it is stored in the Local Storage until the user logs off.

                                • Martin Praxmarer - DevExpress MVP 08.29.2017

                                  Perfect :)

                                • Farooq 08.29.2017

                                  Hi Uriah,

                                  Thanks for the update and thanks to all of you who put on efforts to make this happen and thanks to all the folks who voted for this requirement. Will try it out soon and provide you the feedback as well.