Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Review these client-side scripting best practices for model-driven apps to help prevent errors, improve client performance, and manage solutions effectively.
| Best practice | Description |
|---|---|
| Avoid using window.top | Describes how to avoid script errors and incorrect application behavior associated with using window.top in JavaScript customizations. |
| Consider disabling NavBar when programmatically opening forms or views | Opening forms or views with a URL can lead to slower client performance on high latency networks when the navigation bar (NavBar) is enabled. |
| Do not use the OData v2.0 endpoint | Describes the requirement to upgrade code to use Web API OData v4.0 endpoint rather than the deprecated OData v2.0 endpoint. |
| Interact with HTTP and HTTPS resources asynchronously | You should interact with HTTP and HTTPS resources asynchronously when writing JavaScript client extensions for model-driven apps. |
| Remove deactivated or disabled customizations | Remove deactivated or disabled customizations from a solution to improve solution management and to decrease the risk of utilizing or managing an outdated component. |