XPages: contentsCss in RichText field not working

Hi all,

I have defined an attribute "contentsCss" in several Richtext fields in several XPages applications on my servers. This worked fine for many years...

But since a few weeks time it doesn't work anymore. After some investigation I figured out that this incorrect reference in html is the problem:

If I remove the addition "?t=M2G9" everything works again...

Does anybody know the reason for this additional "parameter"?

My server runs on Domino 12.0.2 FP2, but it also occurs on a Domino 12.0.2 FP1 server.

The strange thing: On a another server with Domino 12.0.2 FP2 it works correctly. So it seems to be a server configuration issue?!

Thanks in advance for your help!

I suggest to open a case for HCL Support team for this issue.

There has been some issues reported with respect to CKEditor.

One of them is documented in below URL -->

XPages CKEditor not loading while browser language is English(GB)

There is reference of "M2G9" there as well. It might be a partial match.

Hence, a support case will be good for further investigation.

Regards,

Amit

This seems to be default CKEditor behaviour to append a URL query parameter with the CKEditor timestamp value. See https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-getUrl.

In the source for the code that appends the timestamp it says: "Leaves the URL unchanged if it is a directory URL or it already contains querystring parameter."

So try changing your CSS URL to include a querystring parameter that Domino understands (for instance ?open).

Thanks, Per, that (workaround) did it!

I thought in that direction yesterday, but didn't come up with the idea of "?open" 🙄

As a result of my support case a defect article was created: https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0108330