Obtain PDF JavaScript operate will not be working solely in Safari browser. Nevertheless it’s working effective for different browsers like Chrome, Edge and so forth. We tried the under code from the aura part. It does not appear to work.
const linkSource = `knowledge:utility/pdf;base64,${base64}`;
var downloadLink = doc.createElement('a');
var fileName = objId;
downloadLink.href = linkSource;
downloadLink.obtain = fileName;
downloadLink.click on();