Cannot find content to transclude!
Asked by johan iojo:

Hello,

I'm using the Content Marker macro to mark ++**several paragraphs**++ in a document to transclude afterwards.

Then i transclude ++**one of those**++ marked contents in another document. But i'm getting the above mentioned error message.

I'm sure the document from which to transclude is correct (its name pops up in the entry box), and i'm pretty sure also the unique ID of the content to transclude is correct (although one cannot select that one, it has to be entered -- i used the copy/paste action to copy the name of the ID from the Content Marker macro and pasted it in the Transclusion macro, in the Identifiers box)

I have some pictures of both document macro results with this question:

The Content Marker macro info:

Content marker for Toepassingsgebied.Artikel 1.1.png

The Transclusion macro info:

Transclusion info for Toepassingsgebied.Artikel 1.1.png

Why is this not working?

PS.

I would like to add that I use the Content Marker macro within the Description section of a document.

I don't know if that could have an impact...

PS2. I also use Content Marker macros within other Content Marker macros. Is that permitted?  
[](https://community.atlassian.com/t5/Confluence-questions/Cannot-find-content-to-transclude/qaq-p/188625?attachment-id=6978){#link_118655c8f07759}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/31669/1/Content%20marker%20for%20Toepassingsgebied.Artikel%201.1.png){#display_118655c8f07759_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Cannot-find-content-to-transclude/qaq-p/188625?attachment-id=6979){#link_118655c8f07759_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/31669/2/Transclusion%20info%20for%20Toepassingsgebied.Artikel%201.1.png){#display_118655c8f07759_2}


Answers:
author: Robert Reiner _smartics_
body: The [Content Marker Macro](https://www.smartics.eu/confluence/x/vANk) is a variation of the [Section Macro](https://www.smartics.eu/confluence/x/ugNk). Therefore you should be able to do nesting with both of these macros.

The problem is that the identifier must not contain dots. If you remove the dots, everything works fine on my developer box. If it does not for you, I'd like you to ask for the version of Confluence and the [projectdoc Toolbox](https://www.smartics.eu/confluence/x/EAFk) you are using.

I will have a look into why this is not documented and/or if we could fix this issue in the next version.

comments: author: johan iojo
body: I've replaced the 'dots' by 'dashes' and it seems to work...

Too bad I didn't know this beforehand, because i use a lot of 'dots' in page titles (not the names) to uniquely identify a page, by linking it to its parent (style: page.parent).

Also in the Sort Key, I'm using this style of numbering, but there it seems to work...


author: Robert Reiner _smartics_
body: I'm still looking into this issue. It may be a bug (since it is not documented it probably is). I just want to give you fast feedback so you can decide whether you want to change your naming schema or just stay tuned ... :smile:

The dot is indeed only not allowed, if there is only a number following. Therefore "X 1.x1" or X 1.1x" would be ok, but "X 1.1" is not (because the suffix after the dot is a number).

This has to do with the internal representation if there are two sections with the same title.

I'll check this and report ...


author: Robert Reiner _smartics_
body: It turns out that this is an issue to be fixed in the next version of the projectdoc Toolbox.

<https://www.smartics.eu/jira/browse/PDAC-684>

Sort Key or page titles have not been part of the problem. Only the identifier set in the Content Marker Macro (or titles of sections).


author: Robert Reiner _smartics_
body: Today we released version 1.12.4 of the [projectdoc Toolbox](https://marketplace.atlassian.com/1212629) that provides a fix to this problem.


author: johan iojo
body: seen it... updated the toolbox... will test the fix...


author: johan iojo
body: looks to work...


author: Robert Reiner _smartics_
body: Thanks for your feedback! I'm happy that it works for your use cases now.


author: johan iojo
body: BTW: I also want to let you know that my overall experience with the Toolbox is very good. It is a very handy set of tools which I'm getting to know each day better and better and which I enjoy to use.


author: Robert Reiner _smartics_
body: Thank you very much for your feedback!


Tags: confluence-administration

macro