Let me guide you on how to set file in a form design.
For example,
I have some files in module A (File) and want to set the document in module B (My module) - default form.
Module A
- Create Module A named File.
- Add information type file.
- Upload the documents.
Module B
- Create Module B named My Module.
- Add information type file.
- Add form design. eg: I want to design form in Default (Create + Edit + View).
-
Enable form automation.
-
Drag * drop Actions block.
-
Click + Add Action
-
Select ‘Find’
-
Select ‘Module’: File - this is Module A where we upload the file.
-
Select 'Filter: ID contains ‘FL00001’ - input the document id of the entry that the file has been uploaded.
- Drag & drop Condition block.
- #File Found
- Drag * drop Actions block.
- Click + Add Action
- Select ‘Set’
- Select Variable: #Form
- Expand property
- Choose ’ File’ - the information you want to set the file in the form.
- Type #File found#File - to set the vale
Overall view of block
Result