WebDrawer Viewing error

The scenario:

  1. Open WebDrawer using Google Chrome

  2. find a record with a PDF document

  3. View it (using the Trapeze viewer

wd_error_1.PNG

4. Select the Document link

wd_error_2.PNG

5. You will see this error

wd_error_3.PNG

The Fix

To fix this:

  1. open the file views\shared\menuButton.cshtml

  2. look for this line:

    <a tabindex="-1" href="~/@menuItem.Value">@menuItem.Key</a>
  3. Change it to this:

    <a tabindex="-1" target="_top" href="~/@menuItem.Value">@menuItem.Key</a>