For our Web 8.5 implementation, we have a requirement to fetch the complete Blueprint structure using C# TBB's. We do have an implementation that uses Metadata Schemas to fetch the Publication details and ascertain whether its a child or a parent and get the structure. However, the metadata field is NOT available for all publications, as they belong to different websites. Is it possible to do it in any other way? As in by directly reading the 'Blueprint Hierarchy' maybe for every publication?
Certainly, take a look at the
BluePrintNodesFilter filter in the TOM.NET API (chm).
Represents the Filter for a list of BluePrint nodes
SystemManager systemManager = session.SystemManager; BluePrintNodesFilter filter = new BluePrintNodesFilter(session); IEnumerable<BluePrintNode> allBlueprintNodes = systemManager.GetBluePrintNodes(filter);
Alternatively, you can use the