tpl extraction of shared code for customDataBlock

Authored by Eileenmcnaughton on Tue, May 8, 6:00 AM.