Editar

Partilhar via


Best practices and guidance for client-side scripting for model-driven apps

This list below contains all of the Best practices and guidance for client-side scripting for model-driven apps.

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 up forms or views with a URL, could 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 Deactivated or disabled customizations should be removed from a solution to improve solution management and to decrease the risk of utilizing or managing an outdated component.

See also

Apply business logic using client scripting