Adding Script Objects to AEM Forms | Community
Skip to main content
New Participant
May 1, 2018
Solved

Adding Script Objects to AEM Forms

  • May 1, 2018
  • 5 replies
  • 5297 views

Is there a way to use (or import) script objects in AEM forms?

Primary use would be to reuse script objects from an ES4 LiveCycle form - into an AEM Form.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mayank_Gandhi

You may write your own custom functions in that case and reference them on any of the adaptive forms you require. Also similar to designer forms you can leverage the adaptive form fragment capability to create re-usable components.

Please refer below links:

https://aemformsblog.singhjagjeet.com/custom-function-aem-forms-adaptive-form.html

https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/clientlibs.html

AEM 6.0 Forms Help | Reusing adaptive forms

Adobe Experience Manager Help | Adaptive form fragments

5 replies

New Participant
May 2, 2018

Thanks.

These links look like they will help.

Mayank_Gandhi
Mayank_GandhiAccepted solution
Employee
May 2, 2018

You may write your own custom functions in that case and reference them on any of the adaptive forms you require. Also similar to designer forms you can leverage the adaptive form fragment capability to create re-usable components.

Please refer below links:

https://aemformsblog.singhjagjeet.com/custom-function-aem-forms-adaptive-form.html

https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/clientlibs.html

AEM 6.0 Forms Help | Reusing adaptive forms

Adobe Experience Manager Help | Adaptive form fragments

New Participant
May 1, 2018

Yes I would.

Whether we take a form we built in LiveCycle and move to AEM - or want to use the form as a Document of Record, but reuse as much of the scripts as possible in the adaptive form - I am hoping there is a way to import and reuse - versus starting over.

If we cannot use the script objects that we created in the LC Form - then how do we add reusable functions that objects can use throughout the adaptive form?

Thanks

Mayank_Gandhi
Employee
May 1, 2018

Hi ,

Do you want to reuse the scripts created in Designer forms into an Adaptive form? Please elaborate your use case.

Employee
May 1, 2018

The forms created in LiveCycle designer can be viewed as HTML5 forms in AEM Forms. The following document explains the scripts that will work when the form is rendered as HTML5 form

AEM 6.0 Forms Help | Scripting support for HTML5 forms