A published site shows [unavailable] instead of a value

What you are seeing

The page shows the value in Confluence, but the published site shows [unavailable]. The site's Macros tab lists a warning against Variable.


#Why it happens

Capable Sites only publishes values it is safe to make public:

  • The variable is a User variable. People's names are never published.

  • The variable is kept in a space the site does not publish. Values from other spaces are left out so publishing one space never exposes another's.

  • The variable was deleted, or could not be read when the site was published.


#What to do

  • For a person, type their name on the page as text, or use a Text variable holding the name.

  • For a value from another space, make it a global variable, or keep it in a space the site publishes. See Retire or replace a variable safely.

  • Publish the site again after fixing it.



Found it? Good.