LPS-46114 Apply the same solution we did for DDMStructures to DDMTemplate