How to discover names of text elements on layout template?

Discussion created by kgebiconsulting on Apr 15, 2013
Latest reply on Apr 15, 2013 by JGravois-esristaff
Is it possible to programatically discover the names of the text elements in a layout template? 

I have a custom print service with serveral layout templates, each with a different set of custom text fields which I need to fill in programatically.  Rather than hard-coding the text element names for each template, I'm looking for a way to discover them programatically.  Thanks!