Quest for generate PDF button

Posted by

In a HCL Connections environment, PDF export was not possible. The generate PDF button stayed greyed out and you could not select any pages.

Checkin the browser console I saw an error in this line:

Restarting the IC360 Modules did not resolve the problem.

“Could not retrieve page hierarchy of Wiki” sounds like an access control or db issue so digging into the
SystemOut.log file showed this

[3/30/26 10:05:50:999 CEST] 0000095b UserDAOImpl W EJPVJ9367E: Unable to associate the login ID wasadmin to the user ID 7ccf04f1-7dbb-4351-95dd-828d24a08deb.
[3/30/26 10:06:06:435 CEST] 0000095b UserDAOImpl W EJPVJ9367E: Unable to associate the login ID wasadmin to the user ID 7ccf04f1-7dbb-4351-95dd-828d24a08deb.
[3/30/26 10:06:24:462 CEST] 0000095b UserDAOImpl W EJPVJ9367E: Unable to associate the login ID wasadmin to the user ID 7ccf04f1-7dbb-4351-95dd-828d24a08deb.
[3/30/26 10:09:40:115 CEST] 0000095b UserDAOImpl W EJPVJ9367E: Unable to associate the login ID wasadmin to the user ID 7ccf04f1-7dbb-4351-95dd-828d24a08deb.

Each time I clicked on the PDF button, this message appeared in the log.

A check in the wikis table revealed the problem:
select * from wikis.user where name in ('wasadmin')
Usually this query should return nothing. In this case I got a result, with a different DIRECTORY_ID. I checked 2 other HCL Connections instances, where the PDF export worked. None of those returned a result for the query.

For the solution I got the id for wasadmin from the fileRegistry.xml, made sure that it was the same as in the SystemOut.log and put it into the wikis.user table entry for wasadmin.

After that change, the “Generate PDF” button worked again, without any restarts.