We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depending on the Role, a different QR code Text would be very Helpful.
Suggestion add a new “layer” to the Config
PLUGINS_CONFIG = { 'netbox_qrcode': { 'with_text': True, 'text_fields': ['name', 'serial'], 'font': 'ArialMT', 'custom_text': 'Property of SomeCompany\ntel.8.800333554-CALL', 'text_location': 'up', 'qr_version': 1, 'qr_error_correction': 0, 'qr_box_size': 4, 'qr_border': 4, # per object options 'cable': None, # disable QR code for Cable object 'rack': { 'text_fields': [ 'site', 'name', 'facility_id', 'tenant', 'cf.cf_name' ] }, 'device': { 'qr_box_size': 6, 'custom_text': None, } # per role options 'dell': { 'qr_box_size': 6, 'custom_text': 'Dell Hotline 12345', 'text_fields': [ 'serial' ] } } }
The text was updated successfully, but these errors were encountered:
You can try Jinja template for this purpose.
Sorry, something went wrong.
No branches or pull requests
Depending on the Role, a different QR code Text would be very Helpful.
Suggestion add a new “layer” to the Config
PLUGINS_CONFIG = { 'netbox_qrcode': { 'with_text': True, 'text_fields': ['name', 'serial'], 'font': 'ArialMT', 'custom_text': 'Property of SomeCompany\ntel.8.800333554-CALL', 'text_location': 'up', 'qr_version': 1, 'qr_error_correction': 0, 'qr_box_size': 4, 'qr_border': 4, # per object options 'cable': None, # disable QR code for Cable object 'rack': { 'text_fields': [ 'site', 'name', 'facility_id', 'tenant', 'cf.cf_name' ] }, 'device': { 'qr_box_size': 6, 'custom_text': None, } # per role options 'dell': { 'qr_box_size': 6, 'custom_text': 'Dell Hotline 12345', 'text_fields': [ 'serial' ] } } }
The text was updated successfully, but these errors were encountered: