forked from tritum/repeatable_form_elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextended-save-to-database-finisher.form.yaml
More file actions
91 lines (90 loc) 路 2.34 KB
/
Copy pathextended-save-to-database-finisher.form.yaml
File metadata and controls
91 lines (90 loc) 路 2.34 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
renderingOptions:
submitButtonLabel: Submit
type: Form
identifier: extended-save-to-database-finisher
label: extended-save-to-database-finisher
prototypeName: standard
finishers:
-
options:
0:
table: tt_content
mode: insert
elements:
Example:
mapOnDatabaseColumn: bodytext
databaseColumnMappings:
CType:
value: textmedia
1:
table: sys_file_reference
mode: insert
container: RepeatableContainer-1
elements:
'imageupload-1':
mapOnDatabaseColumn: uid_local
'Person':
mapOnDatabaseColumn: description
databaseColumnMappings:
uid_foreign:
value: '{ExtendedSaveToDatabase.insertedUids.0}'
tablenames:
value: tt_content
fieldname:
value: assets
2:
table: tt_content
mode: update
whereClause:
uid: '{ExtendedSaveToDatabase.insertedUids.0}'
databaseColumnMappings:
assets:
value: '{ExtendedSaveToDatabase.countInserts.1}'
identifier: ExtendedSaveToDatabase
renderables:
-
renderingOptions:
previousButtonLabel: 'Previous step'
nextButtonLabel: 'Next step'
type: Page
identifier: page-1
label: Step
renderables:
-
defaultValue: ''
type: Text
identifier: Example
label: ExampleTest
-
properties:
minimumCopies: '1'
maximumCopies: 10
showRemoveButton: true
copyButtonLabel: Copy
removeButtonLabel: Remove
type: RepeatableContainer
identifier: RepeatableContainer-1
label: RepeatableContainerTest
renderables:
-
defaultValue: ''
type: Text
identifier: Person
label: PersonTest
-
properties:
saveToFileMount: '1:/user_upload/'
allowedMimeTypes:
- image/jpeg
- image/png
- image/bmp
type: ImageUpload
identifier: imageupload-1
label: 'Image upload'
-
renderingOptions:
previousButtonLabel: 'Previous step'
nextButtonLabel: 'Next step'
type: SummaryPage
identifier: summarypage-1
label: 'Summary step'