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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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
2 Replies

Avatar

Correct answer by
Employee

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)