Email & URL validation on Page property dialog in AEM 6.5 | Community
Skip to main content
Employee
Feb 28, 2023 8:23 AM UTC
Solved

Email & URL validation on Page property dialog in AEM 6.5

Hi Everyone,

Does anyone has implemented email or URL validation on fields present inside page properties (Not author dialog). Please share some references.
Custom clientlib is not getting called while creating page (page properties), but it's working when I open the page properties after page got created.

Thank You !

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
krishna_sai
krishna_saiAccepted solution
New Participant
Feb 28, 2023 12:42 PM UTC

@malay_dube yes try creating a node under items

5 replies

krishna_sai
New Participant
Feb 28, 2023 11:24 AM UTC

@malay_dube  extraClientlibs won't work during page creation.
Can you add a node say clientlibs with sling:resourceType:granite/ui/components/coral/foundation/includeclientlibs and give categories property which you want to load

Hope this helps,
Krishna

 

Translate
Employee
Feb 28, 2023 12:40 PM UTC

Hi @krishna_sai ,

Do I need to create a specific node inside items to include clientlibs?
Please confirm.

Translate
krishna_sai
krishna_saiAccepted solution
New Participant
Feb 28, 2023 12:42 PM UTC

@malay_dube yes try creating a node under items

Translate
Manu_Mathew_
New Participant
Feb 28, 2023 9:44 AM UTC

@malay_dube you can try adding the attribute extraClientlibs to the page property dialog definition of your pageproperties and include it there.

Translate
Employee
Feb 28, 2023 9:47 AM UTC

Hi @manu_mathew_ 
Yes, as I mentioned validation is working when I open page properties of existing page. When I am trying to create new pages, same clientlib is not getting called.

Translate