Working keyrefs in published submaps: Importing keys into submaps
Posted: Tue Jan 28, 2025 5:03 pm
Hi,
I have a question regarding the key/keyref in submaps:
So, our status quo is that we have one "main" map which we build that contains a platform-wide overview of the documentation.
However, in some cases we need to also publish some of the software product documentation (that is within the main map) independently.
Since we implemented keys and keyrefs to the main map, all links to topics that are not part of the published submap are, obviously, broken now. Before, the conrefs of the href were at least still rendering the content, even without the source topic being included in the published (sub) map.
I can imagine, of course, that it is generally best practice to reference all topics that you need in a published map
.
But since this seems to me an endless task atm, I was wondering if there is another solution:
1. Can I somehow import the keys from the "mother" (main) map?
2. I also had the idea of using DITAVAL to filter the main map in specific transformation scenarios to build submaps, but this seems to only partly solve the issue: Can a conkeyref in this case render the content correctly?
I have a question regarding the key/keyref in submaps:
So, our status quo is that we have one "main" map which we build that contains a platform-wide overview of the documentation.
However, in some cases we need to also publish some of the software product documentation (that is within the main map) independently.
Since we implemented keys and keyrefs to the main map, all links to topics that are not part of the published submap are, obviously, broken now. Before, the conrefs of the href were at least still rendering the content, even without the source topic being included in the published (sub) map.
I can imagine, of course, that it is generally best practice to reference all topics that you need in a published map

But since this seems to me an endless task atm, I was wondering if there is another solution:
1. Can I somehow import the keys from the "mother" (main) map?
2. I also had the idea of using DITAVAL to filter the main map in specific transformation scenarios to build submaps, but this seems to only partly solve the issue: Can a conkeyref in this case render the content correctly?