6

We are currently investigating in importing the DXA publications into an existing blueprint. Since this existing blueprint already has separate publications for Schemas and for Templates, and the DXA blueprint only has the master publication which contains both Schemas and Templates, we were thinking to split this up

This is the blueprint we already have Blueprint

We are wondering if it would be possible to split up the DXA Master publication into a publication that contains all DXA schema's (and also categories & keywords), and a publication that contains all template related items (tbbs, page templates,...)

Technically, it should be possible to split all these up, but I think we will end up with issues whenever we want to upgrade to a newer version of DXA.

So, my question is

  • is splitting the DXA Master publication supported
  • are there any other reasons not to do this (one of the issues I mentioned was the difficulty of future upgrades)
  • could this be a future enhancement/option to support this?
8

Lets start with a few (short) answers:

  • Q: is splitting the DXA Master publication supported
    • A: in short: no. slightly longer: depending on what you expect under supported, but as you already mentioned, if you split it up by doing partial imports, future upgrade import scripts won't know where your items are and might import them in the wrong location.
  • Q: are there any other reasons not to do this
    • A: nothing other than because you don't need to (I'll come back on that)
  • Q: could this be a future enhancement/option to support this
    • A: don't count on it, because of the issues I explained in your first question and because of why you shouldn't do it (see below).

So lets look at why you exactly would want to do it. You mention, because you have a Publication split for Schemas and Templates already.

That Publication split was created because we were incorporating design in the Templates, and wanted to be able to split separate designs (note: in the original BluePrint diamond model, it was called a Design publication, not a Templates Publication). With DXA your implementation changed, not only on the CD side, but also on the CM side. Design is no longer stored in Templates, and in fact Templates themselves have (almost) become obsolete. Templates are just a configuration item in DXA with relevant metadata, they basically all contain the same TBBs inside. Hence we dropped the Design Publication from the BluePrint design.

So then to what I think you should consider doing. If you currently still have a need for your Design Publication (because you are using (DWT) Templates with design elements in them, keep it there (else consider removing it, because it has no further use). Then where should you import the DXA Master Publication into, in your 100 Schema Master Publication.

update

Following up on @dylan-mark-saunders comment:

There is an issue with adding the DXA Templates into the Master Publication when you still have traditionally Templated sites. Namely that the DXA templates will now be exposed in every publication below it, and can thus accidentally be selected.

There are a couple of possible options to prevent that:

  1. through security (which might be impossible if you have the same people dealing with both sites)
  2. after import, use the BluePrint move-down feature of Web 8 (but then you will have to keep doing this with every update of DXA unfortunately)
  3. import the entire DXA Master Publication as a separate Design Publication

Number 3 has the downside that you might end up with duplicated Schemas, although I guess you always have that issue when you import DXA with the core module in an existing Publication.

  • 1
    Thanks for your answer Bart. We're reviewing different options, and my preferred option was indeed to import DXA in the schema master publication, and it does indeed make sense that templates are no longer real "design" elements. Just wanted to ask this question to see if this option would make any sense. – Harald Hoffelinck Apr 25 '18 at 14:43
  • @HaraldHoffelinck It is a fair question that didn't get a lot of attention in the community after the first DXA release I guess. But I can assure you we did discuss this change in BluePrint design and made a conscious choice. – Bart Koopman Apr 25 '18 at 14:46
  • I wonder if one reason is to retain {initial} consistency of access; where a number of traditionally templated sites may exist with templates in {let's call them} their own publication. If that was the reason then hopefully the technical debt is acknowledged with a backlog item to merge the publications later. – Dylan .. Mark Saunders Apr 25 '18 at 14:48
  • Thanks for the useful update Bart - if the reasoning was consistency/same team etc. then I'd prefer option 2 - possibly even scripted (although I wonder what issues there would be trying to push down items the second time as I've not tried and tested the move-down feature yet :) ) – Dylan .. Mark Saunders May 17 '18 at 9:22

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.