10. Optimization and Performance

Deployment Best Practices

All about the data quality

Make sure your D365F&O database is free of DB sync errors. It's helpful to use full sync and complete build between major releases.

No mismatches

Make sure you don't have any mismatches between your Dynamics 365 F&O environment's versions.
Make sure you have the same release version for Dynaway products. Dynamics 365 FO models and Mobile Apps in the same major release.

How to deploy

Dynamics 365 F&O can be updated via lcs.dynamics.com (all-in-one package) or a Microsoft DevOps pipeline (version control).
Microsoft LCS Deployment manual
Microsoft Azure DevOps Deployment

Dynaway Mobile Optimization Guide

Dynaway mobile data usage and system performance are heavily influenced by the number of mobile app end users and work orders. The following setup and maintenance guidelines are designed to ensure a highly efficient and optimized system.

  1. Entity setup
    • Path: Dynaway mobile > Setup > Entity setup.
    • Disable unused entities to avoid syncing unnecessary data.
    • Shorten the date range for data storage.
  2. Data initialization
    • Path: Dynaway mobile > Periodic > Data initialization.
    • Run only after each Dynamics 365 and Dynaway update. It prevents corrupted or incompatible data and updates entity structure to match the latest version.
    • This process ensures mobile data is correctly aligned with format changes (e.g., new fields added in a new release).
  3. Mobile framework cleanup jobs
    • Path: Dynaway mobile > Periodic > Mobile framework cleanup jobs.
    • Schedule this as a daily recurring batch job to ensure a good performance:
      • Clean temporary paging table
        • Deletes data in the temporary paging table older than retention days set up in the database.
      • Clean client and handler logs
        • Deletes handler logs which are older than handler log retention days from dialog.
      • Clean up modified entities
        • Deletes mobile entity data not needed.
        • De-personates mobile entities for work orders and maintenance requests.
  4. Handler logs
    • Path: Dynaway mobile > Setup > Handler setup.
    • Handlers are endpoints in F&O used by the mobile app to send or receive data.
    • The mobile client must be online to invoke a handler.
    • It is best practice to disable handler logging by default. Enable only when troubleshooting. Excessive handler logging can negatively impact system performance, especially with many concurrent users.
    • Use the Handler overview to:
      • Monitor active handlers and log volume.
      • Open detailed logs when diagnosing issues.
      • Activate the webSynchronizationGetter handler to measure sync processing time in milliseconds.
      • Poor D365 performance will directly impact mobile execution speed.
  5. Synchronization frequency
    • Path: Dynaway mobile > Setup > Module configuration > General > Synchronization > Synchronization frequency.
    • Set frequency to every 10 minutes.
    • This interval is sufficient because data also syncs when:
      • A page is refreshed.
      • A work order is scheduled.
      • Mobile data is sent to F&O.
  6. Cached saved search lists
    • Path: Dynaway mobile > Periodic > Cache saved search lists.
    • Caching saved searches is only available for asset saved searches.
    • Caching saved search lists is supported and can improve the offline experience, but excessive caching can negatively impact mobile performance. Use it strategically based on user needs.
    • When a user is assigned a saved search list (e.g., Work orders, Requests, or Assets), they can view the included entities while online. Any entity the user opens will remain available on their device for offline access.
    • If you want users to access all entities in a list offline, even those they haven’t opened, then you can mark the list as Cached. When a list is cached, the mobile client will automatically download all associated entities. This improves offline usability and speeds up loading times.
    • However, it’s important to use caching selectively. By default, few entities are marked for prefetching to preserve mobile performance. Caching many saved search lists or large numbers of entities can:
      • Increase the time it takes for the mobile app to start after a data initialization.
      • Slow down the app when new assets are personated in F&O.
  7. Caching for document types
    • You can enable offline caching of documents used in the mobile app.
    • However, downloading all documents in advance may affect app startup time and data usage.
    • Recommended only when offline access to documentation is critical.
  8. Image quality impact on performance
    • If asset images appear to be lower quality on the mobile app compared to the original files, it's due to image compression. To reduce data usage and improve performance, images are automatically resized and compressed before being sent to the mobile device.
      • You can adjust image handling behaviour through the following settings. These settings allow you to define compression thresholds and control when compressed or smaller image versions are used.
    • Mobile parameter setup > Asset image compression threshold.
      • Defines when images should be compressed.
      • Example: Threshold set to 3 MB. Large images above the threshold are automatically compressed to reduce sync time and load.
    • Mobile configuration
      • Max image attachment upload size: Default: 200 KB (If images sent from mobile to F&O are blurry, increase this limit)

01: Dynaway data optimization tools and logs.
01: Dynaway data optimization tools and logs.
02: Entity setup.
02: Entity setup.
03: Dynaway mobile framework cleanup jobs.
03: Dynaway mobile framework cleanup jobs.
04: Handler logs removed with 'Clean client and handler logs' option selected.
04: Handler logs removed with 'Clean client and handler logs' option selected.

Inspect Entities

To inspect entities, go to Dynaway mobile > Inquiries > Entities > Inspect entities.

This functionality (available in Dynaway 2307 update) is useful when an error occurs during the transfer/synchronization of a given entity. You can find all errors on the Failed entity submits form.

On the 'Entity setup' form related to failed entity submits, there is a column on the grid that shows how many times a problem occurred with data transfer for a given entity.

When clicked, a button in the top menu Failed entity submits opens the 'Failed entity submits' form.
With a filter, i.e. shows only errors for the entity previously selected on the 'Entity setup' form.

  • Inspect for Selected Entity
  • Failed Entity Submits

Inspect for Selected Entity

Users can now inspect a selected entity from entity setup (Setup > Entity setup).

Failed Entity Submits

  • The number of failed entity submits for an entity is added to the grid overview.
  • Failed entity submits can be opened from the overview. No multiselection.

1. Entity Inspector.
1. Entity Inspector.

Mobile Client Settings

You can view the custom settings configured by mobile users on the Mobile client settings page. These custom values are stored in the system and are automatically loaded each time the user accesses the application.

To access this page, navigate to:

  1. Dynaway mobile > Inquiries > Mobile client settings.
  2. On the Mobile client settings page (see screenshot 01), you can view the following details:
    • Worker: The name of worker/user using the mobile application.
    • Key: Name of specific mobile setup.
    • Value: The value selected or set by the user in the mobile setup.
    • String length: The number of characters in the setup value.

01: The 'Mobile client settings' page.
01: The 'Mobile client settings' page.

Copyright Dynaway A/S

Privacy Policy