It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

trackbackRdf Code showing up on pages

After a recent upgrade to 7.2.1, it was reported to me by one of our staff that the following is appearing at the bottom of the page:

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))

My research came up with:

Any ideas?


2 answers

1 accepted

2 votes
Answer accepted

Okay, for the next wayward traveller who stumbles upon this post:

Open the Confluence site with a user account that will have permissions to access Space Tools (you're on your own here to ascertain permissions).

Navigate to the Space you need to fix (which I think is the part I wasn't seeing in my research)

In the lower left hand corner open "Space Tools -> Look and Feel"


Go to the Layout tab and if, like in my case, there is a an Edit option for the Page Layout:



make a quick backup (copy to notepad or something) remove the line that begins with:


...from it and save.



This is how I fixed it for our space. Good luck.

Um, you do know that was the answer from the answers in the links you originally gave?

Consider this clarification.

0 votes

If you want to use the new user macro solution, it's admin -> create user macro -> give it a name and type, and literally have it do nothing in the result.

That helps if you've used the macro in pages rather than in the layout like the other two questioners had.

Hello Nic,

Confluence admin is a pretty small part of my responsibilities, so forgive me for not knowing what may seem obvious...

I created a macro (with no experience of knowledge of what they are for) but am still seeing the text on our site. There isn't a field called "result".

Here is a screen shot. Is there something I did incorrectly?




I understand, I usually don't know how experienced someone might be so I try to write guides in simple English rather than Atlassian-speak.

In the screen you are in, where I've said "result" is (sort of) the "Template" field.  That contains the words you want to come out of a macro, but also the result of any code you've put in there.  The code is done in "velocity" and the result is generated when the template is rendered.

You can do stuff like

What time is it?#if ( $today == "Friday" )#then  Yay for beer#endD'oh!

and get

What time is it? D'oh!

except on Fridays when you'll see

What time is it? Yay for beer D'oh!

Anyway, the goal here is to return absolutely nothing.  You do need a template, but I think what you've got already is almost there.  I'd expect it (bear in mind I'm rusty on this) to now show # where the macro is used, instead of an error.  If that is the case, I'd change it to "## something", as that's a velocity comment, so nothing will render

Hello Nic,

There has been no changes at all. It was still the original:

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page)) 

that was on the page. Regardless of the Template field containing



## something

Absolutely no change.

Should there be somewhere in the system where I can remove references to this macro instead of introducing a hack like this?

Do I need to restart? That's hard to do with a production system (and would seem like a silly thing to have to do) but thought I should ask.

Actually, answered my own question. It was in the Page Layout for the Confluence Space.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

7,070 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you