problem with incoming-link macro in combination with scaffolding
I use the incoming-link macro to get a list of pages which link to my page. Unfortunately only pages are displayed which links directly to my page. Pages which use scaffolding plugin (text-data macro) with link in the text-data are not displayed. Do you have any idea to fix this problem.
7
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?This is a known issue, unfortunately. It used to work, but at some point several versions of Confluence back Atlassian changed how they index the links and we haven't had time to figure out what the new method is.
For the moment, my suggestion is to watch SCAFF-186 for updates.
I’m sad
-
Inappropriate?Hi there,
I'm finding that *no* links within a scaffolded page are indexed unless they are within the "layout" of the page. This is a huge bummer!
Anyone had a chance to look at this?
Thanks so much.. and btw, I am so impressed with you guys! You rock :)
-Jen
I’m sad too
-
Inappropriate?Unfortunately not yet. I'm hoping to do a bit of an overhaul on Scaffolding in the next month or so, but it depends how much I can squeeze in between other paid engagements unfortunately, so we'll see.
-
Thanks, David.. Gotta pay the bills :) -
Inappropriate?This issue also applies to links encapsuled by {metadata} and {zone-data} macros.
I’m frustrated, because this macro used to be so powerful!
-
That one's out of my hands - {metadata} and {zone-data} are developed by other people. I'd suggest contacting those developers about that... -
Inappropriate?Hi there,
Is there maybe some different way to list incoming links from scaffolding pages? Maybe using Reporting Plugin?
I’m sad, it will be great to use this macro
-
Inappropriate?Reporting gets its information about incoming links from the same place as the {incoming-links} macro. It needs to be an update in Scaffolding (and whatever other plugins need it).
-
Inappropriate?Hi, is there some chance to solve this problem? Or maybe there is some other way to list incoming links?
-
Inappropriate?I could REALLY use this feature for a project I'm currently working on. It's been an open issue for 7 months, is there any status or hope -- or should I assume this just won't be happening?
Also, I tried using {excert-data}, hoping that storing links in the excerpt field would work. It didn't work immediately, but I was wondering if it's possible that they would eventually get picked up during some sort of indexing? Too much to hope for?
I’m really hoping for a reply soon.
-
Inappropriate?Here's a partial method of working around, using reporting.
It assumes you only want to search part of the space (change the source page of the 1st local-reporter as appropriate).
It assumes the links in the scaffold are contained in a repeating data list named "links" and that the individual links are contained in a text field called "link", residing inside that list i.e.
{repeating-data:links|initialRows=1}{text-data:link|width=385px}{text-data}{repeating-data}
Run the report below on a given page and it will report all pages that point to the given page from the above scaffold.
{report-on:injected=true}
{report-block}
{local-reporter:page:descendents|source=}
{local-reporter}
{report-body}
{report-block-1}
{local-reporter:data:links}
{local-reporter}
{report-body-1}
{report-block-2}
{local-reporter:data:link}
{text-filter:include=\\\\[%report:root content > page:title%\\\\]}
{local-reporter}
{report-body-2}
{report-info:report:content > content:title|link=true}
{report-body-2}
{report-block-2}
{report-body-1}
{report-block-1}
{report-body}
{report-block}
{report-on} -
Hi, I tried using your work around but it dosn't work.
My code:
* scaffold
{repeating-data:Klienci|initialRows=1}
* {list-data:Klient|type=select|multiple=false|blank=true|blankText=_BRAK_}
{content-options:ancestor=ABSKlienci:Klienci}
{text-sort:page:title|order=ascending}
{content-options}
{list-data}
* report
{report-on:injected=true}
{report-block}
{local-reporter:page:descendents|source=SoftlabProj:Asseco Softlab ERP - Projekty}
{local-reporter}
{report-body}
{report-block-1}
{local-reporter:data:Klienci}
{local-reporter}
{report-body-1}
{report-block-2}
{local-reporter:data:Klient}
{text-filter:include=.*%report:root content > page:title%.*}
{local-reporter}
{report-body-2}
{report-info:report:content > content:title|link=true}
{report-body-2}
{report-block-2}
{report-body-1}
{report-block-1}
{report-body}
{report-block}
{report-on}
what am I doing wrong? -
Finaly I manage to deliver working code:
{report-on:injected=true}
{report-block}
{content-reporter:types=+page|spaces=SoftlabProj|labels=Softlab_projekt|scope=SoftlabProj:Asseco Softlab ERP - Projekty > descendants}
{content-reporter}
{report-body}
{report-block-1}
{local-reporter:data:Klienci}
{local-reporter}
{report-body-1}
{report-block-2}
{local-reporter:data:Klient}
{text-filter:include=.*%report:root content > page:title%.*}
{local-reporter}
{report-header}
* {report-info:report:content > content:title|link=true} ({report-info:report:content > content:space > space:name})
{report-header}
{report-body-2}
{report-body-2}
{report-block-2}
{report-body-1}
{report-block-1}
{report-body}
{report-block}
{report-on}
Loading Profile...



EMPLOYEE
