# OpenWindow method
Opens a new browser window which navigates to the specified URL. The benefit of using this function instead of using the native browser function, is that this function also works when using the control add-in in an app, for example on a phone. If you are using the native browser function in an app, the behavior varies between the different platforms (Windows, iOS, Android).
## Method signature
`void Microsoft.Dynamics.NAV.OpenWindow(url)`
## Parameters
Parameter|Description
url|Type: String <br /><br /> A string that contains the URL for the new browser window to navigate to.
## Related information
AL method reference<../methods-auto/library>
devenv-getenvironment-method
devenv-getimageresource-method
devenv-invokeextensibility-method
../devenv-control-addin-asynchronous-considerations

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods/devenv-openwindow-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods/devenv-openwindow-method/
