can we have same name of 2 dialogs in aem ?

Avatar

Avatar
Validate 1
Level 1
sumans4511174
Level 1

Like

1 like

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
sumans4511174
Level 1

Like

1 like

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
sumans4511174
Level 1

02-05-2019

can we have same name of 2 dialogs in aem ?

Replies

Avatar

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

122 likes

Total Posts

403 posts

Correct reply

65 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

122 likes

Total Posts

403 posts

Correct reply

65 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
Level 7

02-05-2019

it would be great if you tell more.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

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