--- title: "Set up general parameters" slug: "set-up-general-parameters-cache" tags: ["Task"] updated: 2026-03-20T13:34:30Z published: 2026-03-20T17:46:51Z canonical: "docs.staedean.com/set-up-general-parameters-cache" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up general parameters Set the general parameters that define the: - Session behavior. - Transaction logging during sessions. - Document types to be used for notes and images. - Run time mode, and if it is Cache, also the cache limits. ### Steps 1. Click **Mobility management**. 2. Click **Parameters**. 3. By default, the full infolog is shown on the mobile device if an error occurs. You can decide to only show the last line of the infolog in case of an error. Select **No** in the **Display full infolog on error** field. 4. By default, inactive sessions time out after a defined time. You can decide that inactive sessions never time out. Select **No** in the **Enable session timeout** field. > [!NOTE] > **Note** > > Only if session timeout is enabled, you can run the **Delete expired sessions job**. 5. If the **Enable session timeout** field is set to **Yes**, define the time after which the session times out. In the **Session timeout** field, enter a time. > [!NOTE] > **Note** > > This is used as the default value for the **Delete expired sessions job**. 6. Define the transaction threshold. Transactions that last longer than the defined number of seconds count as slow. In the **Transaction threshold** field, enter a number. > [!NOTE] > **Note** > > This is only applicable if transaction logging is set to '**Slow logging**'. 7. Define which transactions are logged: In the **Transaction logging** field, select an option. - **No logging**: no transactions are logged. - **Logging only for reporting**: only the events during a session are logged. Requests, responses, and infologs are not logged. - **Full logging**: all transactions are logged. - **Slow logging**: only slow transactions are logged. Make sure to define the proper transaction threshold. 8. You can log all actions that are done for a transaction. Select **Yes** in the **Log actions** field. 9. You can log all queries that are done for a transaction. Select **Yes** in the **Log queries** field. 10. In Anywhere Mobility Studio, you can add an option to your application design to attach a note to a record in D365 F&SCM. To attach notes, **Document management** is used. Define the document type for the notes that you want to attach to records in D365 F&SCM. In the **Document type for notes** field, enter or select a value. > [!NOTE] > **Note** > > - You can only use document types of the **Note group**. > - For more information on how to set up the note option in your application design, refer to the "TI Training Material Development Guide Anywhere Mobility Studio for D365FOee" document. 11. In Anywhere Mobility Studio, you can add an option to your application design to attach a video or image to a record in D365 F&SCM. To attach videos or images, **Document management** is used. Define the document type for the videos or images that you want to attach to records in D365 F&SCM. In the **Document** type for images and videos field, enter or select a value. > [!NOTE] > **Note** > > - You can only use document types of the Image group. > - For more information on how to set up the video or image option in your application design, refer to the "TI Training Material Development Guide Anywhere Mobility Studio for D365FOee" document. 12. Define the app run time mode: In the **Run time mode** field, select an option. > [!NOTE] > **Note** > > This parameter run time mode setting is only applicable if for a user the run time mode is '**Get from parameter**'. - **Configuration**: The app runs on the real-time configuration in Anywhere Mobility Studio. This can be slow in a Tier 2 environment. - **Cache**: The app runs from a cached configuration. This is faster in a Tier 2 environment, but the app can be outdated. 13. You can run an app from cache. For the cache to work optimally, you must set the cache limit to the required number of records. You can calculate the required cache size after you have published a menu or process to cache. The calculation gets the number of records that are created in the cache on publishing. This number is stored in the **Record cache elements for Framework table group** field. You can use this number to set the cache limit. To set the cache limit, go to **System administration** > **Setup** > **Server configuration**. In the Settings for all AOS instances section, enter the cache limit in the **Record cache elements for Framework table group**. Click **Cache calculator**. > [!NOTE] > **Note** > > The menus and processes that you publish may change. As a result, a different cache limit may be required. Therefore, check regularly whether the cache limit is still optimal. 14. Click **OK**. 15. Close the page. ## Related - [Set up Anywhere mobility studio parameters](/set-up-anywhere-mobility-studio-parameters.md) - [Run app from cache](/run-app-from-cache.md)