Enum with Base Type Image

I have a field type Enum with Base Type Image. How do I insert images in for each of the options or is this possible?

Thanks.

Hi,
You may wish to take a look at the following sample app

https://www.appsheet.com/samples/How-to-use-images-in-Enum-buttons?appGuidString=8308b5e4-6cea-4bd0-b2e5-320cebe5e901

1 Like

Thank you @Suvrutt_Gurjar

1 Like

Hi @Suvrutt_Gurjar ,enum type fields with image type base are not working in this example app. Also try it, and in my app it doesn’t work either, will it be an error?

I imagine the image files are just missing for this app, otherwise it does appear to be working correctly. Can you provide a screenshot of the error or issue in your app that you’re experiencing?

1 Like

Captura de Pantalla 2020-05-15 a la(s) 11.12.09 p. m.

it doesn’t work if i paste the link

1 Like

My guess would be that it is because the images are inside the Marcas_Images folder, but you do not have that path in your Enum selections.

I’d suggesting populating your Enum selections with a valid_if expression in any case:

table[Logo]

Where “table” is whichever table you have the spreadsheet screenshot for in your previous post.

4 Likes

And to confirm, it is working for me:

3 Likes

Yes, I just realized what that is, and the link also works. Thanks a lot!

2 Likes