Child pages
  • Cannot access Property from a Document


Sometimes properties from a document property table are not transcluded successfully. This Q/A helps to understand the problem and shows how to deal with it.

Question

Some of the values in the property table are not transcluded to other documents. I expect certain hits in the display table, but they are never showing up!

Where is the problem?

Answer

Problem

Some macros are quite picky about recognizing values in the property table. Property values have to be unformatted. That is they should usually not contain any formatting information. Most macros allow unordered lists or links, but are usually distracted by paragraphs or other (nested) HTML element constructs.

The problem is in matching properties that contain additional markup that often has been added unintentionally. Problems often arise, if content is copied from another website to a property value. The copying adds additional markup that is not rendered, but makes proper resolving of the values impossible.

Solution

  • If you want to solve those problem, please install the Confluence Source Editor. It not only helps to make the markup visible, it also allows you to remove it.
  • In case you cannot install the Confluence Source Editor, we suggest to remove the table line and retype it. You can of course reuse any macros. But be careful with copying texts, since you are in danger for copying the invisible HTML elements you intend to remove.

Resources

Document Cleanup
Runs a projectdoc cleanup on the referenced document.
Copying Plain Text with Confluence Editor
An article with tips on copying content with the Confluence editor on our blog.
preserve
Prevents cleanup services from applying their changes to name, value, and controls of a property.