NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: de la Rosa on March 05, 2022, 05:18:04 PM
-
Hi,
In the below Code, the QR Code is generated in the Element defined by ElementID, how can I save the generated QR image to an image file on disk where it can be retrieved and displayed elsewhere?
Glo:st.remove('<123>')
Glo:st.remove('<125>')
Glo:st.remove('<10>')
Glo:st.remove('<13>')
ElementData = 'QRDisplayForm?RefNo =' & p_web.GSV('RefNo') & '& CustID =' & p_web.GSV('CusttID')
ElementID = 'Ticket_QR'
p_web.script('generateQrCode('& '''' & CLIP(elementID) & '''' & ',' & '''' & Clip(ElementData) & '''' & ');')
TIA
Vic
-
?? maybe easier to use a library to generate the image on the server rather than with script on the browser ??
-
Hi Jane,
Yes, can you point me to an example I can refer to?
Thanks,
Vic
-
https://github.com/RobertArtigas/QRCodeUsingClass
-
Hi Alberto,
Sorry, I'm not familiar on how to compile it without an *.app file. There are 2 project files but with no app files?
Will appreciate any help.
Thanks,
Vic
-
I recommend coming to a Wednesday Open webinar (www.clarionlive.com) so I can show you how to compile a project.
-
Ok Bruce, Thanks!