Image Folder Issue

I have a problem with viewing images that are in a folder other than appsheet.

I have a table (which we will call Table B) in the appsheet linked to the โ€œIconeโ€ folder of google drive where my images are located.
In table A there is an enum column from which you can choose images, but when I choose an image only the image name is saved, not the path.
So this column, after choosing them, fails to display the images. I tried to create another column that concatenates โ€œIcone/โ€ with the name of the image, but in this case instead of the name of the image it returns the link, so the result is "Icone/https:โ€ฆ"and obviously it doesnโ€™t work, if I remove โ€œconcatenateโ€ it always returns only the name and therefore it doesnโ€™t work the same.
So I would like it to return either the link or the path as a value, but I canโ€™t.
Of course I could easily fix it by putting the images in the appโ€™s default folder, but now itโ€™s become a personal battle (which Iโ€™m missing).

Can anyone help me?

0 9 437
9 REPLIES 9

Just checking, did you set the folder path inside the image columnโ€™s settings?

Yes, but it doesnโ€™t work. I think this setting only makes sense when you upload a photo, but itโ€™s not meant to tell the column โ€œlook for it there!โ€

Actually thatโ€™s exactly what this setting tells the system. It saysโ€ฆ look for the file in โ€œthisโ€ relative folder (from where the data is stored).

You could upload a file into the folder, then manually write out that path/filename into a cell and it would work - AppSheet would fine the file and show it in the app.

You might also need to check the app default folder.

Sure, but I probably explained myself badly.
If I write in โ€œFile folder pathโ€ the path โ€œIcons /โ€, all the images I upload will be saved in that folder and transcribed on Googlesheet as โ€œIcons / file123โ€.
But if the images are already saved in that folder, not uploaded via appsheet, and then I choose an image in a row as I described above, it is saved in Googlesheet as โ€œfile123โ€, without the path. And then appsheet canโ€™t find it.
For this I said that โ€œFile folder pathโ€ is only useful if you upload the images.

I see whatโ€™s happeningโ€ฆ

What is the value for these enums? Is it just the file names? or does the string include the filepath.

  • Iโ€™m guessing itโ€™s just the file names; if so it makes sense that only that data would be recorded.

The enum column is based on image type, so yes, unfortunately it only records the name.
Otherwise it would not show the images in the form.

Thatโ€™s the problem.

Did you say that when you try and concatenate the folder path in manually it uses the URL instead of the filename?

I would reach out to support@appsheet.com about this - if thatโ€™s happening, it might be a bug.

You can make a virtual image column that adds the Icons/ to the beginning of the field if it doesnโ€™t have it and use that for your displayed image.

Yes, thank you, now I will write to support. I wanted to make sure I wasnโ€™t doing something wrong.

Top Labels in this Space