-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
115 lines (115 loc) · 2.55 KB
/
manifest.json
File metadata and controls
115 lines (115 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"id": "com.transformd.ext-approval-example",
"manifest_version": 1,
"version": "0.7.1",
"name": "Example",
"icon": "icon.svg",
"environment": [
{
"key": "FORM_ID",
"label": "Form ID",
"default": null,
"type": "number",
"description": "The Unique Numeric ID of the form",
"is_required": true
},
{
"key": "API_KEY",
"label": "API Key",
"description": "API Key for this application",
"type": "string",
"is_required": true
},
{
"key": "BRANCH",
"label": "Branch",
"description": "Form Branch",
"type": "string",
"is_required": true
},
{
"key": "CHANNEL",
"label": "Channel",
"description": "Form Channel",
"type": "string",
"is_required": true
},
{
"key": "PAGE_ID",
"label": "Page ID",
"description": "ID of the Page to take the sections from",
"type": "string",
"is_required": true
},
{
"key": "SECTION_LEFT",
"label": "Left-Side Section",
"description": "Section to be used on the left-side of the app",
"type": "string",
"is_required": true
},
{
"key": "SECTION_RIGHT",
"label": "Right-Side Section",
"description": "Section to be used on the right-side of the app",
"type": "string",
"is_required": true
},
{
"key": "UPLOAD_ABOVE",
"label": "Show uploads on the right above field with ID:",
"description":"Any files uploaded will be visible in a list above this field from the right-hand side",
"type": "string",
"is_required": false
},
{
"key": "UPLOAD_SECTION_TITLE",
"label": "The title to appear above the list of uploads:",
"description":"Any files uploaded will be visible in a list in a section with this title",
"type": "string",
"is_required": false
},
{
"key": "UPLOAD_SECTION_FIELD_IDS",
"label": "Upload Field IDs:",
"description":"Any files uploaded to the fields listed here will appear in the uploads section. Use a comma-seperated list - fieldId1, fieldId2",
"type": "string",
"is_required": false
}
],
"routes": {
"home": {
"name": "Home",
"uri": "/"
},
"basic": {
"name": "Form",
"uri": "/form/{{channel}}/{{submission_id}}",
"params": {
"channel": {
"type": "string",
"location": "path",
"source": "env.CHANNEL"
},
"submission_id": {
"type": "string",
"location": "path",
"source" : "assignment.subject.id"
}
}
}
},
"ui": {
"screen": {
"entrypoint": "index.html"
},
"navigation": {
"theme": {
"background-color": "#ffffff",
"color": "#222222"
},
"active": true,
"menu": []
}
}
}