Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

XDF script tag src external javascript file

Avatar

Level 1

Can I put a path to an external JS file in the XDP file of the form to pull variables? Below example.

 

<script contentType="application/x-javascript" src='constants/state-countries.js'/>
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I think you need to place your js file at the below location in your system

 

C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

I think you need to place your js file at the below location in your system

 

C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts