I have a situation here:
-Multimedia component(let's say pdf abc.pdf)
-All Multimedia items tied to a Dynamic Component Template used to publish binaries using TBB.
-This Multimedia used in other component(Test component)
-Test component used on a test page with Component Template set to publish as embedded.
After making changes to multimedia and clicking "show items to Publish" both items to be published are shown correctly.
--Multimedia component.
--Test Page.
After publishing, the package that is sent to deployer has:
-Updated binary(abc.pdf) in the binary\image directory as expected
-component.xml having the details of only the test component
-pages.xml having details of the test page
-Instructions.xml missing the instructions for the binary.
And hence my updated binary is not being taken up for re-publishing/deploying.
Changing Test CT to be published as Dynamic makes binary instructions to appear in instructions.xml and the binary is updated after publishing as expected.
-Is it the expected behaviour or am i missing something from configuration perspective?
-Suggestions to fix the problem? (Let's say i don't want to change my CT to Dynamic and still want to publish the updated Multimedia in this scenario)
instructions.xml
is missing? Is custom metadata not being updated or the binary itself doesn't get updated? Note there is a difference between Publishing binaries directly with a Dynamic Component Template and having them included in the Package as described in Frank van Puffelen's Binary Event Tracker article. You can actually (implicitly) publish binaries without having a template for it, but only through linking Components or pages.