Navigation

Avatar

Avatar

chi_don

Avatar

chi_don

chi_don

23-07-2015

Will we be able to navigate to other collections or articles programmatically with javascript from within an HTML Article?

For example, is there a deep-link name attached to content, or are custom URLs supported?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Bob_Bringhurst_

Employee

Avatar

Bob_Bringhurst_

Employee

Bob_Bringhurst_
Employee

23-07-2015

You can use navto://article_name to navigate to any article within the app, even if it's in a different collection.

Navigating to other collections is not yet supported, though it is planned.

Are you also asking about linking to content from outside the app?

Answers (9)

Answers (9)

Avatar

Avatar

seekandenjoy

Avatar

seekandenjoy

seekandenjoy

24-08-2015

Or I guess, maybe a better way to ask is how to Nav to a collection's browse page from within the same collection, what would the url be?

Avatar

Avatar

seekandenjoy

Avatar

seekandenjoy

seekandenjoy

24-08-2015

Hi, in regards to buttons and navigation, I understand you can't nav to a different collection, but can you nav to a collection browse page from with the same collection? It isn't essentially and article, and I would like to use the new DPS nav as much as I can, instead of creating my own.

Avatar

Avatar

Bob_Bringhurst_

Employee

Avatar

Bob_Bringhurst_

Employee

Bob_Bringhurst_
Employee

24-07-2015

It's documented here, but keep in mind that these help articles are still in a state of flux.

Hyperlinks in DPS 2015

Avatar

Avatar

MXM_Edit

Avatar

MXM_Edit

MXM_Edit

24-07-2015

Nathan,

Thanks for your help.  Is this documented anywhere yet?

Avatar

Avatar

chi_don

Avatar

chi_don

chi_don

24-07-2015

Thanks for the explanation, Nathan, sounds fantastic. We are loving the new product, and are really eager to try out the collection navto when ready.

Avatar

Avatar

NMarroquin

Employee

Avatar

NMarroquin

Employee

NMarroquin
Employee

24-07-2015

An article navTo will behave as follows:

  1. If the destination article is in the same collection as the article the user is viewing, the user will be navigated to that article in the context of the collection.
  2. If the destination article is not in the same collection it will be opened in a "collection-less" state, so there will be no articles to the left or right of it.

When collection navTo is implemented we would provide the ability to navigate an article in the context of a collection (e.g. if articleA is in collections X & Y, you could specify "Open articleA in CollectionX").

Avatar

Avatar

chi_don

Avatar

chi_don

chi_don

24-07-2015

Thanks for the clarification Bob. I've tried this and it works great. One point to note, it's case-sensitive.

Since you can reference the same article in multiple places, like with a "Top 5" list and also a "feature" article, I wonder how the app would know which one to navigate to? (not particularly important, just speculating)

We definitely look forward to using navigation to collections. We also have some ideas for navigating out to the browser, please keep this under consideration.

Avatar

Avatar

rperez_bonnier

Avatar

rperez_bonnier

rperez_bonnier

24-07-2015

Good to know that navto://article works with articles in other collections within the same app!

Avatar

Avatar

rperez_bonnier

Avatar

rperez_bonnier

rperez_bonnier

23-07-2015

Currently you can only use navto://article_name to navigate to another article within the same collection.