Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Alex86
Alex86
Online

Badges

Badges
6

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
4

Posts

Posts
5

Discussions

Discussions
0

Questions

Questions
5

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Alex86
Customize the badges you want to showcase on your profile
Re: External client lib script is not working during a page creation from existed template - Adobe Experience Manager 12-10-2021
@Anudeep_Garnepudi Thank you so much! It works, you saved my time 🎉

Views

271

Like

1

Replies

0
Re: External client lib script is not working during a page creation from existed template - Adobe Experience Manager 12-10-2021
Hey @Kishore_Kumar_! Thank you for detailed explanation.Unfortunately I need either "Bonus Id" or "Promocode". It depends on content manager choice during the page creation - my existed script just blocks another input if any of these both is filled in. Hence, could you say - is it a way to add my script to the initial clientlibs and define some specific "granite:class" as selector for this custom clientlib category? It's obviously that this script shouldn't affect any other templates or compone...

Views

289

Like

1

Replies

0
Re: External client lib script is not working during a page creation from existed template - Adobe Experience Manager 12-10-2021
Hi @Sanjay_Bangar , Yes, I am using the extraClientlibs property, you can see it in my screenshot 2, but this property only works when I created a new page and want to change it, and when I create it it doesn't work.

Views

329

Like

1

Replies

0
Re: External client lib script is not working during a page creation from existed template - Adobe Experience Manager 12-10-2021
Hi @Sanjay_Bangar , Your link does not work for me, could you please check it. Could you please explain in more detail where the client library for all dialogs is loaded and the category property of your client library is set to cq.authoring.dialog. Thanks,Alex.

Views

346

Like

1

Replies

3
External client lib script is not working during a page creation from existed template - Adobe Experience Manager 11-10-2021
I created a custom script for input validation which checks if another input has value and if ithas the current input should be disabled.This behavior is validated by external script that'sconnected through "extraClientlibs" property in "jcr:root" of the current template "_cq_dialog"content. And the script works only on those components that have already been created or if itis edited with templates properties but when you create a new one the script does not work at thetime of its creation.Coul...

Views

373

Likes

0

Replies

9
Likes given to
Likes from