cancel
Showing results for 
Search instead for 
Did you mean: 

Org Chart 3.0 - Print button on Org Unit's Profile not working

jack_wong
Participant
0 Kudos

Hi,

In Org Chart, after we click on the Org Unit, then the details will be displayed on the right panel.

We clicked on the Action button on the right panel, and click on the Org Unit Profile, a new window will be opened.

Now, clicked on the small printer button on the top right corner.

It will opened a new window with print preview to print that profile page.

However, the print preview is empty, and when we printed this out, we get a blank page.

CDS.log


ERROR com.nakisa.Logger  - PrintPreview.ascx : createPrintPages : Could not load preview. No HTML pages were found
INFO  com.nakisa.Logger  - Invoking action:setCss [<link rel="stylesheet" type="text/css" href="../_Themes/Buttons.css"/><link rel="stylesheet" type="text/css" href="../_Themes/orgChartTheme.css"/><link rel="stylesheet" type="text/css" href="../_Themes/OrgChartLines.css"/><style>.showPrintSectionBox{display:block;}.hidePrintSectionBox{display:none;}</style><link rel="stylesheet" type="text/css" href="../_Themes/NOMS_Style1.css" />]. For processor Printing. Against controller Printing
INFO  com.nakisa.Logger  - setCss on Printing took: 0ms
INFO  com.nakisa.Logger  - Invoking action:updatezoomlevels [undefined]. For processor UpdateSettings. Against controller UpdateSettings
ERROR com.nakisa.Logger  - java.lang.NumberFormatException: For input string: "undefined"
INFO  com.nakisa.Logger  - updatezoomlevels on UpdateSettings took: 1ms
ERROR com.nakisa.Logger  - PrintPreview.ascx : createPrintPages : Could not load preview. No HTML pages were found
INFO  com.nakisa.Logger  - Invoking action:setCss [<link rel="stylesheet" type="text/css" href="../_Themes/Buttons.css"/><link rel="stylesheet" type="text/css" href="../_Themes/orgChartTheme.css"/><link rel="stylesheet" type="text/css" href="../_Themes/OrgChartLines.css"/><style>.showPrintSectionBox{display:block;}.hidePrintSectionBox{display:none;}</style><link rel="stylesheet" type="text/css" href="../_Themes/NOMS_Style1.css" />]. For processor Printing. Against controller Printing
INFO  com.nakisa.Logger  - setCss on Printing took: 0ms
INFO  com.nakisa.Logger  - Invoking action:updatezoomlevels [undefined]. For processor UpdateSettings. Against controller UpdateSettings
ERROR com.nakisa.Logger  - java.lang.NumberFormatException: For input string: "undefined"
INFO  com.nakisa.Logger  - updatezoomlevels on UpdateSettings took: 0ms

This same problem happens on Position's Profile.

How do we fix this print problem?

Accepted Solutions (0)

Answers (2)

Answers (2)

jack_wong
Participant
0 Kudos

Solved through newer build (455)

lukemarson
Active Contributor
0 Kudos

Great news. If the question is resolved please mark the thread as answered.

Best regards,

Luke

lukemarson
Active Contributor
0 Kudos

Hi Jack,

I've seen this before in previous versions. Have you defined the company logo or setup Printing preferences in the AdminConsole? It may be that it is looking for the settings in SettingsResources.xml. Let me know if you have or when you have set them up and if there is still a problem I'll see if I can help you further.

Best regards,

Luke

jack_wong
Participant
0 Kudos

Hi Luke,

In General Settings, I have defined Company Title, URL, and Logo.

Together with Allow Switching Between Modes, Set Standard Mode as Default, and Enable Effective Dating are enabled.

In Print preferences, Size is set to A4, Landscape, CM. The rest are all unchecked and Export settings are all enabled.

Am I missing some setting to cause the error?

Regarding the file SettingsResources.xml, it's encrypted in our .delta folder but it's decrypted in Admin_Config\SAP_DB2

lukemarson
Active Contributor
0 Kudos

Hi Jack,

I'm almost certain that this is a bug. It's looking for the file PrintPreview.ascx which is a .NET file and won't exist in the Java version. I'd raise via OSS.

Best regards,

Luke