Added function to migrate DTL code to Template Toolkit inside dynamic field links.