Access Keys:
Skip to content (Access Key - 0)

Page linking (hyperlink)

A hyperlink allows the linking between pages of separate files, allowing you to reference another feature/article which isn’t in the current document. You will first need to upload the InDesign file you wish to link to. Then you will need to locate the URL to link to prior to adding the hyperlink.

Locating the Article ID URL to link to:

  • Log into App Studio and go to your publication
  • Go to the flat plan of the appropriate issue
  • On the source file you wish to link to open the edit screen

         

  • Towards the bottom of that box you will find the text "articleById://abc/0"

         

  • Copy this URL

Linking to the first page of an InDesign file:

  • Obtain the article Id of the file you want to link to (see 'Locating the article ID URL to link to' above).
  • Add a button to your InDesign page.
  • Open the Button window and click the 'convert to button'.
  • Add the 'Go to URL' action.
  • Paste the URL. e.g. articleByID://link/0 

Please note:  For the below linking to work on your live app, it must be running version 2.1 or higher of the App Studio codebase. Please check with us if you are unsure if your app is running this version of App Studio.

Linking to page x of an InDesign file:

  • Obtain the articleId of the file you want to link to (see 'Locating the URL to link to' below)
  • Add a button to your InDesign page.
  • Open the Button window and click 'convert to button'.
  • Add the 'Go to URL' action.
  • Enter the URL: navigateTo://page(ARTICLEID, PAGENUMBER), where ARTICLEID is the id of the article obtained from App Studio and PAGENUMBER is the page within the InDesign file you wish to link to (See above, to get your article ID).

When you get the article link from App Studio e.g. "articleById://link/0", the actual id of the article is the text after "articleById://", which in this example is "link/0".

       
If you want to link to page 3 of this file, the URL would be: navigateTo://page(link/0, 3)

*Please Note: 
If your InDesign file has 3 pages in portrait & 3 pages in landscape, your InDesign file will display 6 pages in total.
When deciding what page number you want to link to, the page number is the same for both orientations, therefore, in this example linking to page 2 of portrait and page 2 of landscape will use the same page number of page 2 as pages 3 and 4 do not exist when compiled by App Studio.

Linking to page x of an issue:

This allows you to link to a page of an issue, regardless of what InDesign file they are in.
If the issue you download to the app has 20 pages in total, you can link to page 6 of your current orientation by using the example in the steps below.

  • Add a button to your InDesign page.
  • Open the Button window and click 'convert to button'.
  • Add the 'Go to URL' action.
  • Paste the URL: navigateToPage://6 (where the number after navigateToPage:// is the page you want to link to, which in this example if page 6).

Please note: Hyperlinks must be tested on your device as the App Studio web preview does not currently support this.

Linking to Adverts

Linking to an advert in your issue, please contact us for further details.

Adaptavist Theme Builder (4.2.1) Powered by Atlassian Confluence 3.5, the Enterprise Wiki