Views:

Question:
Why is the Web Client not displayed in an iframe?

Answer:
Since DocuWare 6.5 the Web Client is delivered with elevated security settings, which means that it will not be displayed in an iframe of a page or application, which is called over a different domain or address than the web client itself (cross domain).
To disable these security settings you need to change these settings:

  • Backup the file "C:\Program Files (x86)\DocuWare\Web\Platform\Web.config"

  • Open the file "C:\Program Files (x86)\DocuWare\Web\Platform\Web.config"

  • Search for the section:

    <location path="WebClient">
    <system.webServer>
    <httpProtocol>
    <customHeaders>
    <add name="X-Frame-Options" value="SAMEORIGIN" />
    </customHeaders>
    </httpProtocol>
    </system.webServer>
    </location>

  • Remove or comment the section:

    <!--<location path="WebClient">
    <system.webServer>
    <httpProtocol>
    <customHeaders>
    <add name="X-Frame-Options" value="SAMEORIGIN" />
    </customHeaders>
    </httpProtocol>
    </system.webServer>
    </location>-->

  • Save your changes

  • A restart of any component is not necessary!

The Web Client can now be displayed in a cross domain iframe.
If you use DocuWare 6.5, you need to install Hotfix 21 first: