I have a component A which has component B linked through one of the component link Field. if i publish the component A , component B does not get published but if i publish component B , component A get published. As per my knowledge, whenever i publish any component it publish all its dependent items such as multimedia components etc.

Why this odd behavior i am facing with linked component.

if my finding are correct, could somebody provide me the reason of this behavior with example ?


In your scenario of:

A uses B

Publishing A does not cause B to be published.

Publishing B causes A to be published (A uses B, B is used by A).

It gets a bit more confusing once you add publishing status to the formula. Basically, it becomes Republish all components that THIS item is used by).

You can get a good feel for how it's all calculated by looking at the info in "Where Used". Items that show in the "Where Used" tab will be republished, items that show in the "Uses" tab will not be republished.

In other words, what you're experiencing is the expected behavior.

  • Thanks for answering, Nuno. Now i have some a questions in my spined head - If only those items get published which are shown in the "Where Used" tab Why it is different with multimedia,if i publish a component A all multimedia components used in this component get published automatically?
    – user584
    Nov 25 '13 at 13:41
  • 1
    Multimedia is published because your template publishes the binaries, not because of the relationships.
    – Nuno Linhares
    Nov 25 '13 at 13:44
  • 1
    Since this question comes up fairly often, I drew pictures explaining what publishes what and how templates can publish binaries (and even extra component presentations).
    – Alvin Reyes
    Nov 26 '13 at 5:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.