Contact Us 1-800-596-4880

Configure Studio 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, Studio displays the Runtime Manager UI by 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:

    The browser preferences window highlighting built-in or native options
1 Built-in: Uses the built-in browser.
2 Native: Uses the native browser of your operative system.
  1. Click Preview to verify the changed configuration.

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

  1. Quit Anypoint Studio if you’re running it.

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

  3. Extract the .cab file with the following command in a Command Prompt (CMD): Extrac32 /E <path_to_CAB>

  4. Locate your AnypointStudio.ini file inside your Anypoint Studio installation directory.

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

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