Email & URL validation on Page property dialog in AEM 6.5 | Community
Skip to main content
Adobe Employee
February 28, 2023
Solved

Email & URL validation on Page property dialog in AEM 6.5

  • February 28, 2023
  • 2 replies
  • 1303 views

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.
Best answer by krishna_sai

@malay_dube yes try creating a node under items

2 replies

Manu_Mathew_
Community Advisor
Community Advisor
February 28, 2023

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

Adobe Employee
February 28, 2023

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.

krishna_sai
Community Advisor
Community Advisor
February 28, 2023

@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

 

Adobe Employee
February 28, 2023

Hi @krishna_sai ,

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

krishna_sai
Community Advisor
krishna_saiCommunity AdvisorAccepted solution
Community Advisor
February 28, 2023

@malay_dube yes try creating a node under items