漏洞 ID 编号 |
BUG-000155915 |
已提交 | February 16, 2023 |
上次修改时间 | September 27, 2025 |
适用范围 | ArcGIS Pro |
找到的版本 | 3.0.3 |
操作系统 | Windows OS |
操作系统版本 | N/A |
修正版本 | 3.6 |
状态 | Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
|
附加信息
This issue is addressed in ArcGIS Pro 3.6.
解决办法
- In the project, select the report required to export and select the Share tab.
- Choose the report file option and define the Output location for the report file and run.
- The output report file .rptx will be generated at the defined location.
- Open the export_report_to_pdf.py file in ArcGIS Pro IDLE. (shared this file in the email attachment) which includes code below:
import arcpy
arcpy.env.overwriteOutput =True
arcpy.management.ExportReportToPDF(r"#Change the input file location of your Report file .rptx file#", r"#Change the Output file location on your system#", '', 96, "BEST", "EMBED_FONTS", "COMPRESS_GRAPHICS", "ADAPTIVE", "NO_PASSWORD_PROTECT", None, "ALL", '', None, None)
- Once the input and Output parameters are changed, save the python file.
- Run the module and check if for the output for the python code.
- Open task scheduler.
- Create task and add name for your task and triggers for defining the time and date for your script to run.
- In the actions tab click new.
- Under start a program for program/script.
- Select browse and choose the below python program
- "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe"
- Under the argument section add the full path of the updated python script. Refer to the screenshot below:

- Run the task scheduled and check if for the required output.
重现步骤