Configuring the WebView2 User Data Folder File Location - Integration for Epic - English - Foundation 22.1 - OnBase - Premier - external - Standard - Essential - Premier - Standard - Essential

Integration for Epic

Platform
OnBase
Product
Integration for Epic
Release
Foundation 22.1
License
Premier
Standard
Essential

As of Foundation 22.1, Patch 13, the OBEpicWebViewer.dll.config file allows the configuration of the default file location for the Microsoft WebView2 user data files in COM integrations. The default file location is %AppData%\Hyland\Integration for Epic\Epic Web Viewer\.

When modifying the default file location, you must ensure the new file location you will use already exists in your system and that the folder used to store the WebView2 files has the appropriate Read/Write permissions for the WebView2 app runtime. For more information on suitable WebView2 file locations, see the Microsoft documentation.

The default file location should only be modified if the directory is unsuitable for the environment where the OnBase Web Viewer is installed, or if instructed by your first line of support.

For more information on WebView2 requirements for the OnBase Web Viewer COM integration, see Installing the Web Viewer.

To configure the WebView2 user data file location:

  1. Locate the OBEpicWebViewer.dll.config file. In a default installation, this is located at C:\Program Files (x86)\Hyland\Integration for Epic\Web Viewer.
  2. Open the OBEpicWebViewer.dll.config file in a plain-text editor, such as Notepad.
    Note:

    The *.config file should only be edited in a plain-text editor, such as Notepad, or a utility specifically designed to edit XML files. It should not be edited in a binary editor, such as Microsoft Word. Using a binary editor can introduce invalid characters to the file and make it unreadable by the software.

  3. Locate the webViewUserDataFolder setting within the <OBEpicWebViewer> element.
  4. If the webViewUserDataFolder setting is commented out, uncomment it by removing the <!-- at the start of the setting and --> at the end of the setting.
  5. Update the value attribute with an existing file path where WebView2 files should automatically be created. For example:
    <webViewUserDataFolder value="C:/ProgramData/MyWebView2Folder" />

    Where C:/ProgramData/MyWebView2Folder is the directory to which WebView2 files will be created.

    Note: If this setting is not modified, by default, the directory to which WebView2 files are created is located at %AppData%\Hyland\Integration for Epic\Epic Web Viewer\.
  6. Save the OBEpicWebViewer.dll.config file.