{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% block content %}
| Name | {{ object.name }} |
|---|---|
| Enterprise ID | {{ object.enterprise_id|placeholder }} |
| Manufacturer | {% if object.manufacturer %} {{ object.manufacturer.name }} {% else %} {{ object.manufacturer|placeholder }} {% endif %} |
| Description | {{ object.description|placeholder }} |
To use this vendor space with Option 43:
// In option-def, define option 43 to encapsulate this space:
{
"name": "vendor-encapsulated-options",
"code": 43,
"type": "empty",
"encapsulate": "{{ object.name }}"
}
// Then set option-data for options in this space:
{
"space": "{{ object.name }}",
"name": "your-option-name",
"code": 1,
"data": "your-value"
}
To use this space with VIVSO (Option 125):
{
"name": "vivso-suboptions",
"data": "{{ object.enterprise_id }}"
},
{
"space": "vendor-{{ object.enterprise_id }}",
"name": "your-option-name",
"code": 1,
"data": "your-value"
}
| Name | Code | Type | Description |
|---|---|---|---|
| {{ definition.name }} | {{ definition.code }} | {{ definition.get_option_type_display }} | {{ definition.description|placeholder }} |
No option definitions for this vendor space. Add one
{% endif %}