TransWikia.com

Does it make sense to have the site url as Site Identifier in the DXA publication metadata?

Tridion Asked on October 1, 2021

Reading through some (possibly outdated) Quick Start documentation for DXA, I came across this example of putting the site URL in the Site Identifier field in the publication metadata.

enter image description here

In the product documentation, Site Identifier is covered in Configuring the web application for multilingual websites and it seems the only requirement is to use the same identifier for all publications that form part of your multilingual site.

Why would you put the URL there? Is there a real use-case in which this would make more sense than a simple string, or is this just a cargo-cult thing that should be avoided?

One Answer

Frankly, it seems that the author of the Quick Start guide misinterpreted the meaning of this field. Especially the note is suspicious; for the value of this field, it is irrelevant which mapping is done later.

The field has no meaning other than that Publications with the same value are considered to belong to the same “Site” group.

I wouldn’t recommend to use a URL as value, simply because it is misleading.

Correct answer by Rick Pannekoek on October 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP