I want if i request some documet then appsheet send automaticaly attachment file from gdrive.
Solved! Go to Solution.
Can you try this instead:
IF(CONTAINS([Purpose], "Welher Investment Account Opening ( Mutual Funds)"),
LIST(
"Files/Mutual Funds/AOF/Bank_Mandate.pdf",
"Files/Mutual Funds/AOF/AOF FORM.pdf",
"Files/Mutual Funds/AOF/cams kyc.pdf"
),
LIST("")
)
(add the โlistโ expression on the 3rd input, thatโs my mistake I didnโt think about this one as I was focusing on the pdf file path )
I suggest you have a look to the section โHow AppSheet locates other attachment filesโ
In other words, your expression might be instead:
IF(yourCondition,
"YourFolderNameFromDefaultPath/Bank_Mandate.pdf",
"")
Thanks but if i want to attach folder or more files in code then what should i need to write? and is there any videos where i learn multi expression coding?
To my knowledge you canโt attach folder, but you can attach various files.
(beware of example, you still need to write โfileFolder/nameFile.pdfโ
I think you can also use that expression (not tested yet):
IF(yourCondition,
LIST(
"YourFolderNameFromDefaultPath/file1.pdf",
"YourFolderNameFromDefaultPath/file2.pdf",
"YourFolderNameFromDefaultPath/file3.pdf"
),
"")
Here is another helpful ressource:
I donโt know about this specific request, but this is a good ressource:
not working and how appsheet is no coding platform? there is alot coding! there must be browse and attachment option and its common feature
Did you try removing the โwelthertaskmanager-4122587/โ part on your expression ?
This is supposed to be the relative path from the default folder.
Because of it, there is no need to add it to the path.
Let us know if that works for you
this is the path from defaultu folder
I agree this is your default path
I probably mis-expressed myself, sorry for that.
What I meant is to change your expression,
From:
IF(CONTAINS([Purpose], "Welher Investment Account Opening ( Mutual Funds)"),
LIST(
"Welthertaskmanager-4122587/Files/Mutual Funds/AOF/Bank_Mandate.pdf",
"Welthertaskmanager-4122587/Files/Mutual Funds/AOF/AOF FORM.pdf",
"Welthertaskmanager-4122587/Files/Mutual Funds/AOF/cams kyc.pdf"
),
"")
Into:
IF(CONTAINS([Purpose], "Welher Investment Account Opening ( Mutual Funds)"),
LIST(
"Files/Mutual Funds/AOF/Bank_Mandate.pdf",
"Files/Mutual Funds/AOF/AOF FORM.pdf",
"Files/Mutual Funds/AOF/cams kyc.pdf"
),
"")
(please check the expression, Iโm not sure I copied it correctly from your screenshot)
This way, you will have the relative path from your relative folder, which is implicit.
Now they giving condition error! why appsheet dont make it simple? make a coloum as per rules by default
Can you try this instead:
IF(CONTAINS([Purpose], "Welher Investment Account Opening ( Mutual Funds)"),
LIST(
"Files/Mutual Funds/AOF/Bank_Mandate.pdf",
"Files/Mutual Funds/AOF/AOF FORM.pdf",
"Files/Mutual Funds/AOF/cams kyc.pdf"
),
LIST("")
)
(add the โlistโ expression on the 3rd input, thatโs my mistake I didnโt think about this one as I was focusing on the pdf file path )
User | Count |
---|---|
44 | |
28 | |
28 | |
21 | |
13 |