Sigh. It only works with one layout. There are 8 layouts, and only a single layout will update it's title with user input. The text is actually:
<dyn type="layout" property="title"/> (not "dyn type="document")
It is identical for all layouts, but only one layout updates this text block with user input when the print widget is run.
It is the first layout that appears alphabetically in the layouts folder, so I'm wondering if there's a bug that just updates the first layout found in the folder?
Real head scratcher.
This works perfectly fine with ArcMap,by the way.
Thanks
Randy McGregor