Is there a way to generate a QR-Code for printing and sticking to a server
or cable? Ideally the code would contain the url referencing the itop
instance and object but an identifier would be good as well.
There's some options to do so. I know someone made it as something which directly appears in the iTop details and list view (which you could print). Not sure if that code is public.
On my GitHub, there's a custom "report generator". It allows to create templates and also output some info as a QR code in an easy way (and you could also make it print friendly). It takes some setting up though. https://github.com/jbostoen/iTop-custom-extensions (check the WIP-folder; although we've been using it for a while, but I'm working on an improved version)
Last edit: Jeffrey Bostoen 2020-05-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's interesting, we could make an extension to create a QR from an object. I imagine that the user would have to select a few attributes (differents for a server or a cable for example).
Could you give us some examples of which attributes you use and how they would be displayed once the QR code is scanned? (Server and cable would be great)
For example, if for a cable you want to put in the QR both connecting MAC addresses, how would be the ouput?
I had something like this integrated in my "report generator" extension, where I used it to add a QR code on a custom report of the details of one object.
It also supported list views (and so also a selection of objects).
It did need quite some configuration though, I'm privately testing a newer version as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The printing format of QR code should be suitable for portable sticker printers to print out QR codes while installing or maintaining equipment at the data center.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jeffrey,
I am looking for this QR code creation option too. I would suggest a bulk creation where you could select the CI and the QR code output would be the itop weblink to this CI, just as Xaled suggests.
I would implement this in the actions so you can create a QR code for that DB object or Ticket.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently (privately) testing a better PDF implementation though; but it won't be suitable for most webhosts and typically will only be useful for people who have full access to their server to install some dependencies.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'll see if I can publish it soon with at least some documentation.
The new approach is slightly more complicated, but uses a modern implementation which should also support the latest HTML and CSS standards. With "wkhtmltopdf" which I originally used, there were too many limitations.
Update: I have published an update to the project.
🎉
1
Last edit: Jeffrey Bostoen 2022-01-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is there a way to generate a QR-Code for printing and sticking to a server
or cable? Ideally the code would contain the url referencing the itop
instance and object but an identifier would be good as well.
Thanks,
xaled
There's some options to do so. I know someone made it as something which directly appears in the iTop details and list view (which you could print). Not sure if that code is public.
On my GitHub, there's a custom "report generator". It allows to create templates and also output some info as a QR code in an easy way (and you could also make it print friendly). It takes some setting up though. https://github.com/jbostoen/iTop-custom-extensions (check the WIP-folder; although we've been using it for a while, but I'm working on an improved version)
Last edit: Jeffrey Bostoen 2020-05-08
Hello Xaled,
That's interesting, we could make an extension to create a QR from an object. I imagine that the user would have to select a few attributes (differents for a server or a cable for example).
Could you give us some examples of which attributes you use and how they would be displayed once the QR code is scanned? (Server and cable would be great)
For example, if for a cable you want to put in the QR both connecting MAC addresses, how would be the ouput?
Guillaume
Are you thinking about an extra Attribute type?
Hi,
QR code should contain a URL to the object, this way it could be directly accessed in the iTop instance after scanning.
Would you want to do this in batch or ... ?
I had something like this integrated in my "report generator" extension, where I used it to add a QR code on a custom report of the details of one object.
It also supported list views (and so also a selection of objects).
It did need quite some configuration though, I'm privately testing a newer version as well.
Or would you want to have it as an action/menu item on the object?
For me action/menu item on an object would be sufficient at the moment. Batch option is interesting and could be useful for later.
So you don't mind printing one label at a time?
In that case you could nearly as well just copy-paste the URL you want to generate in any online tool.
If you're looking into more bulk operations: you could also export the iTop objects to a CSV and use it to create a mailing list in MS Word and use MERGEBARCODE ( https://support.microsoft.com/en-us/office/field-codes-mergebarcode-812fc43f-cb53-4782-8f9f-290ed08d34f3 - also supports QR )
Or you could play around with https://github.com/jbostoen/itop-jb-report-generator to implement it in iTop
The printing format of QR code should be suitable for portable sticker printers to print out QR codes while installing or maintaining equipment at the data center.
Hi Jeffrey,
I am looking for this QR code creation option too. I would suggest a bulk creation where you could select the CI and the QR code output would be the itop weblink to this CI, just as Xaled suggests.
I would implement this in the actions so you can create a QR code for that DB object or Ticket.
The PDF-part is the hardest to get to work, but as for templates and pure QR code generation you could give https://github.com/jbostoen/itop-jb-report-generator a shot.
Currently (privately) testing a better PDF implementation though; but it won't be suitable for most webhosts and typically will only be useful for people who have full access to their server to install some dependencies.
cool, ive seen this project too.
i have full access to the host, so if your project is published im happy to hive it a go!
I'll see if I can publish it soon with at least some documentation.
The new approach is slightly more complicated, but uses a modern implementation which should also support the latest HTML and CSS standards. With "wkhtmltopdf" which I originally used, there were too many limitations.
Update: I have published an update to the project.
Last edit: Jeffrey Bostoen 2022-01-31