Skip to main content

Disable PDF Export in HCL Connections 8

·204 words·1 min

I had some issues with PDF export functionality in HCL Connections the last weeks.

The server became unresponsive multiple times due to high load from PDF exports. To quickly address the issue, the simplest solution is to disable the PDF export feature by configuring the icxt.pdfexport.access.requiredrole property in the Resource Environment Entries.

In the past I used CSS to hide the PDF button, but users could still call the API or use the browser developer tools to display the button temporarily.

The ICXT documentation for PDF Export shows this:

Name Description Default
icxt.pdfexport.access.requiredrole Specifies the required access role a user must suffice in order to leverage the PDF Export feature. Valid roles are PDFExport+ItemViewer, PDFExport+ItemEditor and PDFExport+ItemOwner. The roles are calculated based on the HCL Connections content the user wants to execute PDFExport functionality for. PDFExport+ItemEditor

So I always thought only these three possible strings are allowed, but when you use any other string, the PDF export does not show up any more. So using stoeps for example disables the feature, or better does not display the PDF buttons any more.

20241202-174802.png

Then start and stop the IC360_core application.

Now when you open a Wiki or Blog, then the PDF button is gone:

Default:

20241202-175450.png

Disabled:

20241202-175543.png
Christoph Stoettner
Author
Christoph Stoettner
I work at Vegard IT GmbH as a senior consultant, focusing on collaboration software, Kubernetes, security, and automation. I primarily work with HCL Connections, WebSphere Application Server, Kubernetes, Ansible, Terraform, and Linux. My daily work occasionally leads to technical talks and blog articles, which I share here more or less regularly.

Related

Automate screenshots of web pages with Eyewhitness

This week, I investigated an issue with the advanced profiles search in HCL Connections. I had a system which did not show any results in the advanced search for the department number of Connections profiles. HCL support tried for three months to reproduce the issue, and the users missed the option to search for their teammates with the advanced profiles search.