Our MXD template has a Table View added, and everything looks fine in the mxd. When using Arcmap to generate the pdf, the table shows up as expected.
We have arcpy.mapping scripts to generate the pdf using ExportToPDF, and for some reason the Table does not show up on the final PDF.
Any suggestions on parameters or extra calls needed would be great.
Here is the code that is being called:
mxd = arcpy.mapping.MapDocument(rootPath + '\\resources\\Template.mxd')
....
#target table
#experimenting with setting the size to make the image appear
tableElement = arcpy.mapping.ListLayoutElements(mxd, wildcard="targetTable")[0]
tableElement.elementHeight = 7.8264
tableElement.elementWidth = 10.9364
...
mxd.save()
arcpy.mapping.ExportToPDF(mxd, productPath + "\\Report.pdf")