Expand my Community achievements bar.

SOLVED

Does anyone display HTML5 rendered forms in a web app on a non-adobe server?

Avatar

Level 3

We have a ASP.Net web running in IIS on one server that calls the forms service to render the forms as pdf documents.  We are trying to replace that with calls to OSGi to render the forms in HTML5.  We've dealt with the permissions issues and the CORS issue but the HTML contains the following partial urls that are meant to run on the aem server but try to run on the IIS server:

<script type="text/javascript" src="/etc.clientlibs/fd/xfaforms/clientlibs/I18N/en_US.js"></script>
<script type="text/javascript" src="/etc.clientlibs/clientlibs/granite/jquery/granite/csrf.js"></script>
<script type="text/javascript" src="/etc.clientlibs/fd/xfaforms/clientlibs/profile.js"></script>

Does anyone know how to get around this so the web app doesn't have to run in AEM?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
2 Replies

Avatar

Correct answer by
Employee Advisor

Avatar

Level 3

Hi @GPhillips58 - Can we write a URL rewrite rule such that request to ^/etc.clientlibs(.*) would redirect to AEM server? (Consider this as a workaround)