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
BedrockMission!

Learn More

View all

Sign in to view all badges

Custom console - Folder naming rules

Avatar

Avatar
Boost 3
Level 2
pgperusina
Level 2

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 2
pgperusina
Level 2

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
pgperusina
Level 2

31-07-2019

Hi,

@We created a custom console and when a new folder is created using that console, just filling up the title, using an ID that starts with a number, AEM uses that ID for the name of the folder but adding an underscore as a prefix.

For example, the title of the folder could be "9abc" and when created, AEM defines its name as "_9abc".

Is that an expected behavior?  Can we somehow make sure that the name takes the title ID?

Thanks!

Replies

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

31-07-2019

Can you share detail on  "custom console"?

Avatar

Avatar
Boost 3
Level 2
pgperusina
Level 2

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 2
pgperusina
Level 2

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
pgperusina
Level 2

31-07-2019

Hi thanks for the response,

Clarifying with my teammates, it is not directly related with the custom console, the problem resides when a new folder is created in touch-ui.

Screen Shot 2019-07-31 at 10.46.45 AM.png

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

31-07-2019

Can you confirm the AEM version along with Service pack?

Thanks,

Mayank

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

31-07-2019

I think it's by design just confirmed with an AEM team person.

Avatar

Avatar
Boost 3
Level 2
pgperusina
Level 2

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 2
pgperusina
Level 2

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
pgperusina
Level 2

31-07-2019

Hi,

Our understanding is that only special chars are replaced in the name but why the numeric part?

Is there an explanation or is this explained in the documentation?

Thanks.

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

31-07-2019

My assumption is you are leaving the name field blank. It would be happening only in this case. Try to fill both the field title and name.

Avatar

Avatar
Boost 3
Level 2
pgperusina
Level 2

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 2
pgperusina
Level 2

Likes

3 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
pgperusina
Level 2

31-07-2019

Hi, yes definitely filling both works perfectly but the name field is not mandatory, so the author might leave it blank.

We noticed that the dialog for creating a new folder varies from place to place, for example the dialog to create a new folder in the experience fragments console, doesn't automatically fill the name field.

While the dialog to create a new folder in the DAM automatically populate the name field on every keystroke on the title field.

Screen Shot 2019-07-31 at 5.22.04 PM.png

Screen Shot 2019-07-31 at 5.21.30 PM.png

Avatar

Avatar
Boost 5
Level 3
cal-netsolution
Level 3

Likes

27 likes

Total Posts

21 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 3
cal-netsolution
Level 3

Likes

27 likes

Total Posts

21 posts

Correct Reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
cal-netsolution
Level 3

31-07-2019

Hi, which version of AEM are you using?

I am using AEM 6.4 and I created a folder under Experience Fragments without filling the name field, then the result shows as below in screenshots.

Can you try this in fresh installation without your custom code and check?

folder.png

folder1.png

Best,

Cal    

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

01-08-2019

Yes, the code might be different for all the functionalities where you can create a folder and this seems to be a specific case with Exp Fragment where the title starts with an integer. If you feel it a bug or need a clarification maybe you can log a support ticket with AEM team.