navto links go dead when not the first article in collection | Adobe Higher Education
Skip to main content
geoffreyr651434
Level 2
October 3, 2015
Resuelto

navto links go dead when not the first article in collection

  • October 3, 2015
  • 12 respuestas
  • 3041 visualizaciones

I am experiencing some very strange behavior with navto links in DPS solution articles.

I have an article with a large button with this link:  navto://GRhodes_PofC_contents#1  --just the name of another article in the same collection, going to the second page.


If I set up the collection so that the article with the navto link loads first, the button works.  If it is anywhere else in the collection (and I navigate there through a link from another article), the button is dead.  It is clearly reading the action because the <=back link doesn't appear at the top of the screen.  And no error comes up ('content not found'), instead it does nothing.  It seems like a bug, but I can't diagnose it.  I have not tried yet completely rebuilding the collection and articles on DPS, but that is my next step.


Anyone else having this problem with unreliable strange behavior with navto links?

Este tema ha sido cerrado para respuestas.
Mejor respuesta de Colin_Fleming

Hey Geoffrey;

Navto links in DPS2015 work much like the previous version, but there are some differences.

Within a project you'll have many articles, but every article name is unique. Navto://articleName will get you to the article, but the relative location of where you came from and where you "nav'd-to" has an impact on your experience.

A navto from one article to another in the same collection has a context, so you can swipe to previous or next articles within the collection.

But if you navto an article that's outside of the collection, then there's no context for any swiping navigation (you can only go Back). So a navto an article outside of the current collection is a bit like going into a cup-de-sac -- you must exit the way you came in.

Some relative navto commands work, and there's info in the HELP system: https://helpx.adobe.com/digital-publishing-solution/help/hyperlinks.html#create_goto_links_to_custom_icons

The notable passage in the HELP article is in the first section, third bullet point:

  • If the destination article is in the same collection as the article the user is viewing, tapping the link opens that article within the context of the collection. If the destination article is not in the same collection, it will be opened in a state that's not related to a collection, with no articles to the left or right of it. Users can use the navigation bar to return to the source article.

HTH;

Colin

12 respuestas

Colin_Fleming
Level 6
October 21, 2015

Yes, you are correct Geoffrey.

This is a current limitation to navto.

Adobe Employee
October 21, 2015

That's an interesting approach, Geoffrey. In the next couple of releases, we'll have support for linking to collections and (later) context linking to articles in a different collection. I'm curious to see whether those enhancements will give you what you're looking for..