Difference between revisions of "Link to QR codes"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
 
(7 intermediate revisions by 2 users not shown)
Line 5: Line 5:
Example:
Example:


   https://omega.tempusserva.dk/QRservice/QRcode?https://wiki.tempusserva.dk
   https://omega.tempusserva.dk/qr/encode?https://wiki.tempusserva.dk/index.php?title=Link_to_QR_codes


You can down the war file [[https://www.tempusserva.dk/install/QRservice.war|here]].
You can down the war file [https://www.tempusserva.dk/install/qr.war here] or just use our service.
 
=== Transforming access tokens to QR codes ===
Assuming you allready have an interface for a solution, you can add a button to build QR codes containing the tokens for selected elements.
 
First create a field of the type '''Button: Script execution'''.
 
Then set up the JS to handle open a window with a code:
 
  url = "main?command=dk.p2e.blanket.codeunit.common.PagePublicTokenBuilderQR&interface=foobar&SagID=257&DataID=" + DataID;
  window.open(url, "QR kode", "width=300,height=300,menubar=no,resizable=no,toolbar=no,location=no");
 
In the above you will need to change
* SagID
* inteface

Latest revision as of 12:15, 10 December 2021

You can use our online QR coder to convert links to mobile phone QR codes.

Add the link in question as the request string (after the ?)

Example:

  https://omega.tempusserva.dk/qr/encode?https://wiki.tempusserva.dk/index.php?title=Link_to_QR_codes

You can down the war file here or just use our service.

Transforming access tokens to QR codes

Assuming you allready have an interface for a solution, you can add a button to build QR codes containing the tokens for selected elements.

First create a field of the type Button: Script execution.

Then set up the JS to handle open a window with a code:

 url = "main?command=dk.p2e.blanket.codeunit.common.PagePublicTokenBuilderQR&interface=foobar&SagID=257&DataID=" + DataID;
 window.open(url, "QR kode", "width=300,height=300,menubar=no,resizable=no,toolbar=no,location=no");

In the above you will need to change

  • SagID
  • inteface