In this section, you will be creating the workaround to the Incoming Links macro by making use of REP.
This workaround will be able to detect links from other pages from within Scaffolding macros that link to the current page. In this example the Scaffolding macro structure used is the one we created in Part 1 - Creating the Scaffolding macro structure.
At the end of this step you should be able to see something like this:
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:
Within the Report Body macro, add a Report info macro. Set its Key to "page:title" and check the Link To Item parameter.
Inside Content Reporter macro, add a Text Filter macro Set its key and contains parameters to "data:target" and "%variable:X%" respectively and click Save.
Click on Edit contents, select your desired page and click Save.
Macro structure
JavaScript errors detected
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.