What property on a TOM.NET Tridion.ContentManager.CommunicationManagement.ComponentTemplate shows if the template is a dynamic template or a static one? In the CME GUI this is set in the Component Presentations based on this Component Template will be: field.

enter image description here


It is in ComponentTemplate.IsRepositoryPublishable. Once you know the name it makes sense. From the API doc:

public bool IsRepositoryPublishable { get; set; }

A "dynamic" Component Presentation is published separately instead of being embedded on a Page.

The checkbox Allow on Page Using Dynamic Assembly is in ComponentTemplate.AllowOnPage, that one is a bit easier to find.


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.