SafeCom Report "User Printing by Org Unit" not showing users if export is generated through rptexport.exe (Troubleshooting)

SafeCom Report "User Printing by Org Unit" not showing users if export is generated through rptexport.exe

Problem:

When generating the "User Printing by OU" report through rptexport.exe with a batch file, the resulting report does not includes users details.

When generating the same report using the same parameters through the SafeCom Report Tool, user details are included (as expected).

Cause:

SafeCom Reports uses some hidden parameters for the Report generation, within rptexport.exe all parameters are needed to be specified.

Solution:

The used parameters can be seen in SafeCom Reports when

The command line needs to have an additonal parameter: arg#SYSPARM_ShowUserNameNotLogon=No

Example .bat file:

"C:\Program Files (x86)\SafeCom\SafeCom Reports\rptexport.exe" /srv='SAFECOM_SERVER' /usr='admin' /pwd='nimda'^

{src="C:\Program Files (x86)\SafeCom\SafeCom Reports\SCR_STD_Usr_00 - User Printing by Org. Unit.rpt"^

dst="C:\SafeCom\User_by_OrgUnit.pdf" exptype=pdf^

arg#Date of first Record=1/1/2016^

arg#Date of last record=12/31/2016 11:59:59 PM^

arg#Org. Unit=^

arg#group by org.level#=4^

arg#Tracking state=Completed^

arg#Job Type=All^

arg#SYSPARM_ShowUserNameNotLogon=No}

 

Link to original article