7

We have unused Publication targets which needs to be deleted and we thought of using the new 2013 Sp1 feature of decommission the targets. We used the below method

 client.DecommissionPublicationTarget("tcm:0-14-65537");

This line executes successfully without any error but the publication target doesn't get deleted. Do we need to perform any other extra steps?

8

The documentation states:

Decommissions (takes out of service) a Publication Target, so it can be deleted afterwards.

I would therefore assume that, yes, you need to delete it afterwards yourself.

Something like:

client.Delete("tcm:0-14-65537");

after calling DecommissionPublicationTarget() should be sufficient.

1

The alternative is to use PowerShell and run:

Clear-TcmPublicationTarget tcm:x-x-x

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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