Unable to remove the watermark on the document

Which product are you using?

PDF.js Express Viewer Free license

PDF.js Express Version

UI version ‘8.7.0’

Detailed description of issue
{Description here}

On the visualization of the document, we see a watermark.
Why ? How can we remove that ?
Is our license working ?
Can we regenerate a license?

Expected behaviour
{Provide a screenshot or description of the expected behaviour}
See attachement

Does your issue happen with every document, or just one?
{Answer here}
Yes on every document.

Link to document
{Provide a link to the document in question if possible}

On the button View per example.

Code snippet
{Provide a relevant code snippet}
Our license code viewing.js
WebViewer(
{
path: ‘…/…/…/lib’,
licenseKey: ‘YtKpZ6KgFjbcz3ZPehns’,
initialDoc: initialDoc,
},
document.getElementById(‘viewer’)
).then(instance => {
samplesSetup(instance);

document.getElementById(‘select’).onchange = e => {
instance.UI.loadDocument(e.target.value);
};

document.getElementById(‘file-picker’).onchange = e => {
const file = e.target.files[0];
if (file) {
instance.UI.loadDocument(file);
}
};

document.getElementById(‘url-form’).onsubmit = e => {
e.preventDefault();
instance.UI.loadDocument(document.getElementById(‘url’).value);
};
});

Hi there,

It looks like you have a license key already generated from your account settings on pdf.js.
You can regenerate them in the same panel:

Please see this forum post for additional information: PDF.js Express Viewer Watermarks

Best regards,
Kevin Kim

I can’t regenerate the key !?!

Hi there,

It looks like you already have a license key for that domain. In that case, you would need to edit your first license key to something else then create a new one for that domain.

Best regards,
Kevin Kim

I have generated a new license key and placed it on our website www.groupemutuel.ch but the watermark is still there. Do you have a way to check if the new key is used by www.groupemutuel.ch?

Hi there,

I took at look at the staging link you provided and it looks like you have the annotation tools in the header. This means you are not using the pdfjs express viewer. Make sure you have the correct package installed.

You can see the difference in the packages here:

and the demo between viewer/pro: PDF.js Viewer Demo | PDF.js Express

Best regards,
Kevin Kim

Have you tested this link (our site in PRODUCTION) Search engine: results - Groupe Mutuel, by clicking on the View button to open the viewer?

You can see the watermark

Hi there,

Yes I looked at your staging and see that you have the express Plus features:

You will need to correctly download the pdfjs-express-viewer package

Best regards,
Kevin Kim