Expand my Community achievements bar.

ReferenceError: guidelib is not defined

Avatar

Level 5

I have done the AEM setup using the below version of quickstart and forms addon. After installation i have created a sample form got the "guidelib is not defined" error becoz of this i was not able to use a custom methods in edit rules. Please let me know do i need to install any sp or other packages. Thanks in advance.

aravindS_0-1748511352382.png

aravindS_1-1748511370743.png

 

8 Replies

Avatar

Employee

@aravindS Can you check if you are not using any ES6 syntax in custom function.
Also can you try with
AEM SDK v2025.5.21005.20250522T173058Z-250400
and
AEM Forms add-on v2025.04.29.00-250400

Avatar

Level 5

Hi @Sakshi5 ,

Thanks for your reply. I have tried with and without custom functions / js file , all time i got the same error.

Let me try with this

AEM SDK v2025.5.21005.20250522T173058Z-250400
and
AEM Forms add-on v2025.04.29.00-250400

Avatar

Level 5

Hi @Sakshi5  ,

I tried with the above mentioned version of AEM sdk and add-on getting the same error.

Avatar

Employee

Hi,

Are you creating core component based form or foundation form?

At which stage you see the console error logs? When you open the form in editor?

Can you try opening the form using "Preview as HTML" option without opening it in editor? Please share if the form renders successfully or not.

Avatar

Level 5

Hi @pankajpr ,

Thanks for your reply.

I'm facing very first after done the installation. Whenever i tried to open "edit rules" getting the above error. Even there is no js for that custom clientlibs. (Note: css is applying based on my custom clientlibs file).

Avatar

Employee

Hi,

Please confirm the below.

  1. There is no console error when the form is open in the editor.
  2. The console error appears only when you click edit rule button for a component.

Can you please attach a full page screen shot with dev console also open? Have you tried with very basic form? 

Avatar

Moderator

@aravindS , Can you provide the information requested by @pankajpr to help you further?

 

Avatar

Level 5

Hi @Khushwant_Singh / @pankajpr ,

While opening the form itself getting the below error.

aravindS_0-1749719889029.png

when i open the edit rules getting the below error

aravindS_1-1749719958105.png

Thanks,