Generate QR code
Hi all,
I have a STRING field, using which I have to generate a QR Code that has to be printed later.
Is there any way to generate a QR Code in Thingworx 9.2.3
Thanks in advance,
Sujith
Hi all,
I have a STRING field, using which I have to generate a QR Code that has to be printed later.
Is there any way to generate a QR Code in Thingworx 9.2.3
Thanks in advance,
Sujith
Hi
In ThingWorx, you can simply create a service with the following to get a QR Code with 200x200 size saying "Hello_World":
let params = {
proxyScheme: undefined /* STRING {"defaultValue":"http"} */,
headers: undefined /* JSON */,
ignoreSSLErrors: undefined /* BOOLEAN */,
useNTLM: undefined /* BOOLEAN {"defaultValue":false} */,
workstation: undefined /* STRING {"defaultValue":""} */,
useProxy: undefined /* BOOLEAN {"defaultValue":false} */,
proxyHost: undefined /* STRING {"defaultValue":""} */,
url: "https://chart.googleapis.com/chart?cht=qr&chl=Hello_world&choe=UTF-8&chs=200x200" /* STRING */,
timeout: undefined /* NUMBER {"defaultValue":60} */,
proxyPort: undefined /* INTEGER {"defaultValue":8080} */,
password: undefined /* STRING */,
domain: undefined /* STRING {"defaultValue":""} */,
username: undefined /* STRING */
};
// result: IMAGE
let result = Resources["ContentLoaderFunctions"].LoadImage(params);

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.