Structure of an Open Order template
The required information in the header of the template is the same as for users / groups / contacts.
The structure of the input form follows the following scheme:
"Form": {
"Type": "Container",
"Label": "Labeling",
"Templates": [
{
"Key": "Value1",
"Value": {
"Type": input method
}
},
{ "Key": "^Value2",
"Value": {
"Type": input method
As an input method, you can use containers to create nesting.
With CollapsibleContainer
, you create a container that can be collapsed and expanded. Use the IsCollapsed
property to set the default.
Example for nested containers:
"Form": {
"Type": "Container",
"Label": "Root container",
"Templates": [
{
"Key": "nested_container",
"Value": {
"Type": "CollapsibleContainer",
"Label": "Nested container",
"IsCollapsed": true,
"Templates": [
{
"Key": "Collapsible_grandchild_container",
"Value": {
"Type": "Container",
"Label": "Additional container",
"Templates": [
{
"Key": "Container3",
"Value": {
"Type": "CollapsibleContainer",
"Label": "And one more to fold",
"Templates": [
{ //etc...