An alternative to the Incoming Link macro using Reporting

What the Incoming Link macro is normally used for

 The Incoming Link macro is used for generating a list of pages that are linked to the current page.

To use it:

    • Go to a page that is linked by many other pages, and edit it.
    • Add an Incoming Link macro and save the page
    • You will see a list of pages that link to this page has been generated.

Macro Structure

Result

However...

The Incoming Link macro will not produce a list of pages that have links that are from within a Scaffolding macro (such as the Text Data or List Data macros).

The workaround

To get around this you can make use of Reporting's macros to generate a list of pages that link to the current page, even when they are linked to it from within a Scaffolding macro.

Current page

A page that links back to home

Check it out!

Visit live demo site

Ingredients

Confluence apps

You will need the following ServiceRocket apps installed on your Confluence.

Complete source code

The following source code is shared using Confluence Storage Format, the XHTML-based format that Confluence uses to store the content of pages, page templates, blueprints, blog posts and comments.

For more information on how to use this source code on your Confluence, read the following article:

How do I use Recipes that use the Storage Format with the Confluence Source Editor?

⚙️ Expand

Building this use case

Complete macro structure

⚙️ Expand