{"title":"OpenWindow method","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods/devenv-openwindow-method/","by":"JOP-AL","license":"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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods/devenv-openwindow-method","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"The OpenWindow method in control add-ins for Business Central.","date":"2024-04-26","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Method signature","slug":"method-signature","at":377,"chars":66},{"level":2,"title":"Parameters","slug":"parameters","at":443,"chars":140},{"level":2,"title":"Related information","slug":"related-information","at":583,"chars":213}],"text":"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).\n## Method signature\n`void Microsoft.Dynamics.NAV.OpenWindow(url)`\n## Parameters\nParameter|Description\nurl|Type: String <br /><br /> A string that contains the URL for the new browser window to navigate to.\n## Related information\nAL method reference<../methods-auto/library>\ndevenv-getenvironment-method\ndevenv-getimageresource-method\ndevenv-invokeextensibility-method\n../devenv-control-addin-asynchronous-considerations"}