Skip to main content
6 events
when toggle format what by license comment
Jun 17, 2023 at 2:35 comment added mackmama this got me almost there . . one more thing - I needed to go to Setup/Security/CSP Trusted Sites and add: *.googleapis.com. I didn't see the error right away after I implemented @RubenDG's code Refused to load the image 'https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=https://xxxxxx--xxx.sandbox.my.site.com/xxx/s/?recordId=a2i3S0000xxxxxxxk' because it violates the following Content Security Policy directive: "img-src 'self' data: blob:
Jun 17, 2023 at 2:30 vote accept mackmama
Jun 16, 2023 at 22:10 comment added mackmama https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=https://xxxxxx--xxx.sandbox.my.site.com/sap/s/?recordId=a4xxxxxx0Wjjk a little more than Yahoo.com but I wanted to make easier
Jun 16, 2023 at 22:04 comment added RubenDG @mackmama what's now the string stored in this.qrCode?
Jun 16, 2023 at 22:02 comment added mackmama I had to replace a couple of & with &. I could then copy that URL and see the qr code when I pasted the URL in a browser. I still don't see anything in the lwc.
Jun 16, 2023 at 20:51 history answered RubenDG CC BY-SA 4.0