Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.57 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.57 KB

netbox_friendlyurl

Create user-friendly url's for standard netbox/model/type/pk/ format

Install in the most common ways.

The links are build as 'search' parameters, relative to the model. The first parameter has to be the primary field of the model (name, vid, address, ...) All values are searched for with case insensitive 'starts with'

format:

Use a | (pipe) as separator between the key=value pairs. If you refer to related objects in the second keys, then you can either use the 'id' of the object, or you can use the 'name'. If an ID is expected, but a text is found, then an case insenitive exact lookup for the 'name' field is performed to find the correct ID. If that fails, then the pair is removed from the searchparameters

Examples:

If no unique object is found with those values, then you get redirected to the search enginge, with the primairykey value to be searched for and the object type set.