Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

GPhillips58
Level 3
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
workflowuser
Correct answer by
Employee
Employee
2 Replies
workflowuser
Correct answer by
Employee
Employee
harish_malineni
Level 2
Level 2

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)