Alternative to af.customwidgets

Avatar

Avatar
Validate 1
Level 1
james_xu
Level 1

Likes

0 likes

Total Posts

13 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
james_xu
Level 1

Likes

0 likes

Total Posts

13 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
james_xu
Level 1

22-01-2018

As learned from this topic, the Javascript and CSS available in the af.customwidgets are automatically included at runtime, Adobe Experience Manager Help | Create custom appearances for adaptive form fields

But if multiple sites are sharing the same environment, all would have redundant libraries included.

Is there any alternative approach in AEM Forms instead of using the af.customwidgets as the category.

Cheers.

Replies

Avatar

Avatar
Boost 1
Level 2
Anish_Somani
Level 2

Like

1 like

Total Posts

19 posts

Correct reply

4 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 1
Level 2
Anish_Somani
Level 2

Like

1 like

Total Posts

19 posts

Correct reply

4 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile
Anish_Somani
Level 2

22-01-2018

You can create your own clientlib and include the same in adaptive form through property sheet of guide container from authoring.

Guide Conatiner property sheet has clientlib where you can include all clientlibs you want for that AF.

Hope this helps.