Routing Documents in Records Center
I recently was asked if the record routing rules in Records Center support inheritance relationships of content types. Namely, will a routing rule for a parent content type be applied to child content types. Answer is no.
Here is an example setup:
- Create two site content types: Accounting Document and Project Accounting Document. Project Accounting Document is a child content type of Accounting Document.
- Create a new Accounting document library in the Records Center.
- Add a Record Routing entry in the Records Center to route Accounting Document to the Accounting document library (i.e. only the parent type).
- Create and route an Accounting Document and a Project Accounting Document.
The Accounting Document routes via the rule to the Accounting document library. The Project Accounting Document ends up in Unclassified Records in the Records Center. So the parent Record Routing rule is not applied to the child.
A custom router (implementation of IRouter) could be written to implement this behavior. Here is a blog posting that outlines a custom router that gives an idea of how to do it: