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

can we have same name of 2 dialogs in aem ?

sumans4511174
Level 2
Level 2

can we have same name of 2 dialogs in aem ?

3 Replies
Ravi_Pampana
Community Advisor
Community Advisor

Hi,

Can you elaborate more on your requirement ?

Are you trying to have same name for 2 fields in a single dialog ? If so we cannot have same name for two fields as second will overwrite first value and only stores second.

Prince_Shivhare
Community Advisor
Community Advisor

it would be great if you tell more.

smacdonald2008
Level 10
Level 10

You should not use the same name in a dialog (I assume that is what you mean).  As Ravi points out - you would have conflicts.

Best practice for working with dialogs and Granite can be found here - Building Experience Manager Components using Granite/Coral Resource Types