As mentioned in this answer on the SiteWizard and described in SDL Docs, you use Add-TtmSiteTypeKey to configure a Publication to be a Site Type.

Where is this configuration stored in Topology Manager (i.e. with which entity: Topology, Web Application, etc.)?

And is this mechanism public? In other words, can implementers also store per-environment settings in Topology Manager in some type of extended data?


Add-TtmSiteTypeKey does not configure a Publication to be a Site Type (you do that by setting the Publication's Publication Type to "Site Type"), but it associates a Site Type (Publication), with Web Application(s) in Topology Manager.

This is done to be able to infer Publication Mappings from the Site Type (if you use the Site Wizard).

The "Site Type Key" (i.e. the Key of the Publication/Repository acting as Site Type) is stored as ScopedRepositoryKeys property on several entities in Topology Manager: WebApplication, Website, CdEnvironment, CdTopology.

This mechanism is not intended to be extensible, but Topology Manager does provide an ExtensionProperties property on all entities, which is intended as general purpose extension point; it allows you to add key/value pairs to each entity. ExtensionProperties on WebApplication and Mapping entities are also pushed to Discovery Service (which also has such extension properties).

  • Perfect. And is there a specific format for ExtensionProperties (e.g. JSON, meaning we could put any type of configuration)?
    – Alvin Reyes
    Apr 28 '17 at 14:41
  • 1
    It is a Dictionary with String keys and String values. Neither have meaning for Topology Manager itself, so you could indeed store JSON (or XML or YAML) in the value. Apr 28 '17 at 17:24

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.