I was wondering if it is possible to publish an article that is completely hidden and can only be access via a navto link. By completely hidden I mean the user has no other change then using the hyperlink to get to the page, e.g. neither accessible via browsing the page of a collection nor swiping between articles will bring up the hidden article.
My first approach was to not assign the hidden article to a collection but publish it. Then I added another article, assigned it to the top-level-collection and in the article provided two navto links in the form:
I tested this and when I followed the link it loaded up a blank page. See screenshot below:
The page contains the actual title of the hidden article ("Settings (tc)") but comes up with an error saying the app failed to download the content ("Download fehlgeschlagen").
Is this the right way to do it and am I doing something wrong?
Or is there a better way to do it? (Still assume it can be done though.)
I tested this a few months ago. If I recall, an article must be part of a collection in order to work properly—this might be a bug—but I don't think that collection needs to be part of the app structure.
Try adding the article to a published collection, but don't add the collection to your structure. That way, users can't swipe to it, and you should be able to link to the article.
You are doing it correctly. You should be able to publish an article without adding it to any collection, then use the navTo as you suggested. Internally we call these "orphaned" articles.
If the app is failing to download the article in this context there may be some failure with the publish process or in the viewer. I did a very quick test with these conditions in my preflight app and it worked. Could you try unpublishing and publishing the article?