AEM Lateral Menu Issues

Avatar

Avatar
Validate 1
Level 1
douglasf1216991
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
douglasf1216991
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

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

19-04-2016

Into an app made with AEM Mobile, the Lateral Menu has problems in order to connect articles to go back to a Main Collection. When you use: navto://collection/home , this button works fine just if your are navigating from the Home or Main collection, Once you start the navigation with the Lateral Menu that back button doesn't work, we've trying with all the links adobe has provided onto the support files and forums, but neither of them are working for this matter.

Thanks!

Accepted Solutions (0)

Answers (4)

Answers (4)

Avatar

Avatar
Validate 1
Level 2
GU_Julz
Level 2

Likes

6 likes

Total Posts

33 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
GU_Julz
Level 2

Likes

6 likes

Total Posts

33 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
GU_Julz
Level 2

02-03-2017

Can I dig a little deeper into this?

Using "goto://FolioNavigation/lastview" as a 'back' button in a Collection.

Example:  Collection "Elements". Article 1-Dirt, Article 2-Fire, Article 3-Wind, Article 4-Water. In that order. It wouldn't make sense to have the 'back' function appear on Article 1-Dirt however, when you have it appear on Article 2-Fire this 'back' button would take you back to Article 1-Dirt. You also tell the user that using swipe disables the back button. Similarly having this 'back' button in Article 3-Wind would take the user back to Article 2-Fire.

As much as that is the explanation is given...I have implemented it in to my HTML and it has failed to work.

I have also tried "navto://relative/#previous" to no avail. I am using an iPad to test all these navigation options. Suggestions?

Avatar

Avatar
Boost 5
Employee
NMarroquin
Employee

Likes

28 likes

Total Posts

175 posts

Correct reply

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

Avatar
Boost 5
Employee
NMarroquin
Employee

Likes

28 likes

Total Posts

175 posts

Correct reply

46 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
NMarroquin
Employee

19-04-2016

Hi Douglas, i understand the issue. When you use the menu to navigate laterally the app doesn't create a "back stack," so a back button does not surface. Contrast this to navigating by tapping the card into the article. In that case the app has created a new view level and back stack, so the back button is shown.

Another aspect of this. If you have navigated several levels into the app, then used the app menu to return to the top level and resets the back stack.

Avatar

Avatar
Validate 1
Level 1
douglasf1216991
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
douglasf1216991
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

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

19-04-2016

Hello Bob, thank you so much for your prompt Answer,

My Example is:

I have a collection named "home", it has 6 cards(Articles), inside an Article we use to have a "Designed Back Button" instead of use the one at the AEM top bar (This bar seems only appears when you tap somewhere at the screen on Article level, on Collection level is always displayed, that's why we wanted to avoid tap twice in the article to go back). so we just tap into our "Designed Button" to come back to the "home" collection. In this case is working fine...

But once I go to the same Article from the AEM Predesigned Lateral Menu Bar, the "Designed Button" doesn't work, the same happens with the AEM back button, it disappears.

Hope this explains a bit more of the issue,

Thanks for any Advice

Avatar

Avatar
Boost 50
Employee
Bob_Bringhurst_
Employee

Likes

88 likes

Total Posts

411 posts

Correct reply

113 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Bob_Bringhurst_
Employee

Likes

88 likes

Total Posts

411 posts

Correct reply

113 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Bob_Bringhurst_
Employee

19-04-2016

I'm not sure what you mean by "that back button doesn't work." Also, which other links have you tried?

Your navto://collection/home link works only if your collection is named "home."

Depending on what you're trying to do, here are a couple of goto:// links that might help:

goto://ApplicationViewState/library

goto://FolioNavigation/lastview

The goto://ApplicationViewState/library format takes you back to the "home" collection, which is the first item in your top-level. That should always work, no matter where you are in the app.

The goto://FolioNavigation/lastview method works the same way as the back button. Keep in mind that the back button works with taps, not swipes. in other words, if you tap a card or link to jump to an article, tapping the back button takes you back to the preview view. If you swipe through articles, the back button does not return you through the progression of swipes.

Hope this helps. Let us know if you have follow-up questions.