Expand my Community achievements bar.

AEM 6.5 Forms Rule Editor async functions

Avatar

Level 1

Hello, recently we have migrated our forms and clientlibs to AEM 6.5 on premise, now we have detected that rule editor on forms does not work. We have identified some changes like use "var" instead of "let" but our main problem is with async and await sintax.

We have asyncronous functionality and if we change to promises, it does work correctly. Is there any configuration or option to use async and await on clientlibs?

If we remove these words rule editor works and allow to edit js. Our error is:

 

ancara_0-1730188466719.png

I have found this comment, so which option do I have?
https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-core-c... 

 

The functions that are not supported in the custom function list are:

  • Generator functions
  • Async/Await functions




 

 

2 Replies

Avatar

Level 1

Hello @ancara ,

 

Can you please share your AEM Forms version?

 

Thanks,

Rahul Pandey

Avatar

Level 1

Hello @rahulpandey27 

 

We are using AEM 6.5.15 and Forms addón 6.0.856. 

 

Thanks!!