-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
app: custom objectsstatus: needs ownertype: featureA new feature or functionalityA new feature or functionality
Description
Plugin Version
0.4.0
Proposed functionality
Implement a function to customize the primary name field. At the moment it's only possible to set one field as primary name field.
Implement a new field in the custom object to define the primary name field with a Jinja2 Expression, so it's possible to build every primary name field which you want. You can use the value of the fields with Jinja2 Expressions.
Example:
Custom Object: SFP Module
Fields:
- Serial
- Manufacturer
- Name
Primary Name Field: "{{Name}} - {{Manufacturer}}"
Object 1:
- Serial: 12345
- Manufacturer: Cisco
- Name: SFP-10G-LR
Final Primay Name: SFP-10G-LR - Cisco
Object 2:
- Serial: 122445
- Manufacturer: Arista
- Name: SFP-10G-LR
Final Primay Name: SFP-10G-LR - Arista
Use case
The primary name field than can be customized in more detail.
External dependencies
No response
milneauk and odelarosae
Metadata
Metadata
Assignees
Labels
app: custom objectsstatus: needs ownertype: featureA new feature or functionalityA new feature or functionality