can we have same name of 2 dialogs in aem ?

Avatar

Avatar

sumans4511174

Avatar

sumans4511174

sumans4511174

02-05-2019

can we have same name of 2 dialogs in aem ?

Replies

Avatar

Avatar

Ravi_Pampana

MVP

Avatar

Ravi_Pampana

MVP

Ravi_Pampana
MVP

02-05-2019

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.

Avatar

Avatar

Prince_Shivhare

Avatar

Prince_Shivhare

Prince_Shivhare

02-05-2019

it would be great if you tell more.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

03-05-2019

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