XAF - New Maps Module and other enhancements to the Mobile UI (Coming in v17.1)

XAF Team Blog
05 May 2017

With our new Maps module for XAF Mobile applications you can incorporate interactive maps and customize their provider and data source. You can start using this feature with the Visual Studio Toolbox and XAF designers or Solution Wizard - where you can add the new MapsMobileModule component:


Note: You must specify the MapsMobileModule.GoogleApiKey property in the MobileApplication.cs (MobileApplication.vb) file (refer to the Get API Key article to learn more).


This module includes both List and Property Editors designed to display, add and edit business objects such as addresses, companies or anything that implements the IMapsMarker interface on a map. The MobileMapsListEditor is the default List Editor used to display objects implementing this interface:


Once you configure the desired ListView using the Model Editor, it will convert the default data representation from a simple list into an interactive map displaying a list of markers:


You can also create new objects using the New Action or after a long tap on a map.

In the DetailView, you can manually specify required coordinates or if you prefer to hide these properties, you can instead use the built-in Get Current Position command.

In DetailView, you can force the MobileMapsPropertyEditor to display IMapsMarker business objects as a map instead of standard drop down editors:


Minor Enhancements

In addition to this new module, we've also worked on a number of other minor features. For instance, with v17.1, non-persistent properties will be supported in XAF Mobile and XPO OData Service. If a non-persistent property includes business logic, our OData Service will automatically execute it and return the resulting value to the client. We have also developed a functional testing system based on our TestCafe product to improve the quality of mobile apps and I hope to briefly describe this feature in a future post. You can also explore and modify our pre-built mobile application at C:\Users\Public\Documents\DevExpress Demos 17.1\Components\eXpressApp Framework\MainDemo\CS\MainDemo.Mobile\ as we made it a part of the default installation. This should help you get you up to speed with of our mobile platform. We also made numerous improvements to the online documentation, though this process is not yet finalized and there are more changes to come.

12 comment(s)
Gustavo Marzioni
Gustavo Marzioni

Are non-persistent properties supported in 17.1.2 xaf mobile  beta?

5 May, 2017
Dennis (DevExpress)
Dennis (DevExpress)

@Gustavo: Yes.

5 May, 2017
Saif Khan
Saif Khan

A much needed feature, thank you!

7 May, 2017
Mustafa K
Mustafa K

Dear Dennis

Are there any enhancement on

- System performance

- UI lucidness and provision for its customization

- Enhancements on reporting and charting

Thanks

8 May, 2017
Dennis (DevExpress)
Dennis (DevExpress)

@Mustafa: Yes, there are improvements to the application performance in certain scenarios and I described some of them in my recent post at community.devexpress.com/.../xaf-enhancements-to-application-performance-and-general-usability-coming-in-v17-1.aspx

As for the last two points, are you looking for anything specific here? If so, please contact us using the https://www.devexpress.com/ask service and describe your issues or scenarios you cannot solve with the current XAF version. We will be more than happy to listen and help. Thanks in advance.

8 May, 2017
Michael  Bogaerts
Michael Bogaerts

Any Progress in EF Support?

9 May, 2017
Dennis (DevExpress)
Dennis (DevExpress)

@Michael: We have not yet worked much on EF in this release other than bug fixes. Are you looking for anything specific?

9 May, 2017
NITISH36
NITISH36

Dear Denis,

when xaf mobile will ready for production use?

9 May, 2017
Dennis (DevExpress)
Dennis (DevExpress)

@Jignesh: We will be happy to call "ready for production" as soon as we ensure that the most expected core features are in place (e.g., custom controls integration, better extensibility, localization are among our major priorities), the UI is polished, all planned common scenarios are stably working, no architectural changes are coming, enough documentation, demos and examples are provided. Have you already tried to add a mobile UI to your existing XAF app? I would be more than happy to hear of your practical experience with it, including any issues or suggestions (dennis at devexpress dot com) .

12 May, 2017
Syamsuri sam
Syamsuri sam

Hi Dennis,

How about for sub menu in XAF mobile menu? already support or not in current CTP version?

Thanks

29 May, 2017
Vladimir L (DevExpress)
Vladimir L (DevExpress)

 @Syamsuri:

Hi,

You can click and hold an item in dxList and required single object actions will be shown in corresponding containers (in toolbar commands, by default). Also, you can hold on the map to create new markers.

In the future, we plan to introduce the slide action for items for accessing the context menu:

js.devexpress.com/.../Item_Context_Menu

Does it meet your requirements?

30 May, 2017
Ian  Johnstone
Ian Johnstone

@Dennis to follow up Jignesh's question, do you have a planned release for XAF Mobile to be production ready?  How likely is it going to be a v17.x release or will it be v18.x?

7 June, 2017

Please login or register to post comments.