The OnOpen/Switch to layout option not showing up in XML DDR Report
Operating system version
Description of the issue
When creating a XML DDR report, the 'switch to layout' option/name won't show up in the XML (tag of 'OnOpen') unless the file also has an OnFirstWindowOpen script option as well.
Steps to reproduce the problem
Create a file with the 'Switch To Layout' option specifying a layout. DO NOT have the OnFirstWindowOpen script step checked. Export a XML DDR report on the file with all options checked.
The XML should have the 'OnOpen' tag regardless of the status of OnFirstWindowOpen. The results should look similar to this -
The options section in the XML file looks like such -
Exact text of any error message(s) that appear
Select a OnFirstWindowOpen that triggers a blank script. But this is very impractical with a 60 file solution.