Configure Studio’s Browser Settings

Anypoint Studio comes bundled with a default browser to display elements of the Anypoint Platform UI. For example, when you deploy to CloudHub from Studio, the Runtime Manager UI displayed in Studio is rendered using a built-in browser.

This built-in browser is the default. However, if you log in to Anypoint Platform using multi-factor authentication (MFA), you must configure Studio to use your system’s native browser to render the Anypoint Platform UI:

  1. Navigate to Preferences > Anypoint Studio > Browser.

  2. Select the type of default browser for Studio:

    browser configuration
    1 Built-in: Uses the built-in browser.
    2 Native: Uses the native browser of your operative system.
  3. Click Preview to verify the changed configuration.

Additionally, if you use Windows you must perform an additional configuration:

  1. Quit Anypoint Studio if you are running it.

  2. Download the latest fixed version of WebView2 from the Microsoft Developer Portal.

  3. Locate your AnypointStudio.ini file inside your Anypoint Studio’s installation directory.

  4. Add the following lines to the AnypointStudio.ini file:

    -Dorg.eclipse.swt.browser.DefaultType=edge
    -Dorg.eclipse.swt.browser.EdgeDir=<path-to-your-WebView2-cab-file>
    # for example:
    # -Dorg.eclipse.swt.browser.EdgeDir=C:\Users\my-user\Downloads\Microsoft.WebView2.FixedVersionRuntime.9x.x.xx.xx

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub