We save images from Load Data[Image] and โExpenseโ[Image]
I need to save these images in files for each โapp userโ in separate files for each image set
Is there a way for AppSheet to auto create these pathways for new users
Solved! Go to Solution.
That's not an expression, that's just a text string, because it's all in quotes. You need to use CONCATENATE(), or it's shortcut '&'. And remember that it's a relative path from the location of the gsheet, not from the root of your gdrive. So more like:
"DATA_IMAGE_images/" & App User[EMAIL]
But also, are you filtering the "App User" down to a single record with security filters or a slice? If not, that will return a list of all emails from the "App User" table. See here for more:
If you're just wanting the current user's email address, use USEREMAIL() instead.
"root-folder/" & {user-expression} & "/" & {expense-category-expression}
Each Image type column has a folder path setting, which you can use expressions in. So use an expression that sets the folder path differently for the different users. Note that all folders must still be at or below the location of that table's gsheet (relative paths).
"/appsheet/data/AnnualLoadBookApp-638534/DATA_IMAGE_images/App User[EMAIL]"
I am having trouble getting the expression to work. Can you give me an example expression that I can look at
That's not an expression, that's just a text string, because it's all in quotes. You need to use CONCATENATE(), or it's shortcut '&'. And remember that it's a relative path from the location of the gsheet, not from the root of your gdrive. So more like:
"DATA_IMAGE_images/" & App User[EMAIL]
But also, are you filtering the "App User" down to a single record with security filters or a slice? If not, that will return a list of all emails from the "App User" table. See here for more:
If you're just wanting the current user's email address, use USEREMAIL() instead.
I am filtering the โApp Userโ down to a single record with security filters not a slice. For the โDATAโ record
I also do the same for โExpensesโ Record
That works Thank you
That created a folder in Expense_Image and Data_Image for each โApp Userโ
My next question would be is there a way to make sub folders for each โExpenseโ category inside the createdโApp Userโ File
"root-folder/" & {user-expression} & "/" & {expense-category-expression}
User | Count |
---|---|
18 | |
11 | |
11 | |
8 | |
4 |