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
BedrockMission!

Learn More

View all

Sign in to view all badges

Adding Script Objects to AEM Forms

Avatar

Avatar
Validate 1
Level 2
johnh86027037
Level 2

Likes

2 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
johnh86027037
Level 2

Likes

2 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
johnh86027037
Level 2

01-05-2018

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

284 likes

Total Posts

1,105 posts

Correct Reply

182 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

284 likes

Total Posts

1,105 posts

Correct Reply

182 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile
Mayank_Gandhi
Level 10

01-05-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

Answers (4)

Answers (4)

Avatar

Avatar
Validate 1
Level 2
johnh86027037
Level 2

Likes

2 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
johnh86027037
Level 2

Likes

2 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
johnh86027037
Level 2

02-05-2018

Thanks.

These links look like they will help.

Avatar

Avatar
Validate 1
Level 2
johnh86027037
Level 2

Likes

2 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
johnh86027037
Level 2

Likes

2 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
johnh86027037
Level 2

01-05-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

Avatar

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

284 likes

Total Posts

1,105 posts

Correct Reply

182 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

284 likes

Total Posts

1,105 posts

Correct Reply

182 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile
Mayank_Gandhi
Level 10

01-05-2018

Hi ,

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

Avatar

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

133 likes

Total Posts

443 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

133 likes

Total Posts

443 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile
workflowuser
Employee

01-05-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