Is there any way to restrict publishing to specified child publication while publishing from parent publication.
We have a requirement where we don't want to publish content for few publication if published from master/parent publication.
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It only takes a minute to sign up.Sign up to join this community
Top of my head, one way to achieve this is to:
I'm sure there's many more ways to do it, but this would likely work. Do remember that when publishing Tridion creates one transaction per publication, so I don't think you could just exclude a specific publication from the transaction itself.
Yes, there is an option. You can always remove some publications from publication target. If you do this, it will mean that publishing (or unpublishing) from that publication will no longer be possible.
This option is if you don't want publishing from these publications at all.
If indeed you need just publishing from publication enabled, but without anything published, you can implement custom resolver as @Nuno mentioned. This solution will enable publishing, but will remove all items at resolve time, which will result in empty transactions.
Can you please update your question so that its understood what is the exact requirement and what you want to achieve?