Defining a default image file on image type field/colum of a form view

Hello,

My problem has started wen I tryed to define a default image to be displayed on a field/column called "img_fabricacao".

I have tried to simply put a test image that has this path: "Checklist_Images/Test_Image.png"

The "Checklist_Images" folder are under the same path as the database of the app on my Google Drive.

GabrielCapSan_0-1712254658294.png

The column is set to be image type and are not editable.

I put the path of the image in initial value field...

GabrielCapSan_1-1712254693422.png

....but the image is not displayed on form view even after saving the changes and resyncing the app.

GabrielCapSan_2-1712254724149.png

Interestingly, wen i save the form, on deck view, initialy the image dont show up...

GabrielCapSan_3-1712254757286.png

But after a few seconds it does show up....

GabrielCapSan_4-1712254779678.png

 

I also tried:


To put the image file on the same folder path as de database spreadsheet;

To put the image path on the "formula" field instead of "initial value" field;

But the behaviour still the same.

PS:

To give some context...

I am building an app to serve as a checklist on what should be done by the employees, and at the same time give some basic visual instructions on how to do.

The final objective is to use this image field/column to purely display a default image that will serve as exemple on how the employee should done certain things, and on the same form there will be another field (Yes/No) were he/she confirms that the activity has been done acordingly to the image of the above field.

PSS: 

I am not a native english speaker so i apologize for bad english or mispelled words.

Solved Solved
0 2 56
1 ACCEPTED SOLUTION

Aurelien
Google Developer Expert
Google Developer Expert

Hi @GabrielCapSan 

you may want to use a virtual column instead then ๐Ÿ™‚

This allow you to display something without writing anything on your database.

Aurelien_0-1712298329930.png

Aurelien_1-1712298388215.png

For reference:

Use virtual columns - AppSheet Help

Alternatively, you could go with a column type Show, which is more useful in some cases:

Improve the presentation of detail and form views using Show types - AppSheet Help

Aurelien_2-1712298530464.png

Aurelien_3-1712298600031.png

 

 

View solution in original post

2 REPLIES 2

Aurelien
Google Developer Expert
Google Developer Expert

Hi @GabrielCapSan 

you may want to use a virtual column instead then ๐Ÿ™‚

This allow you to display something without writing anything on your database.

Aurelien_0-1712298329930.png

Aurelien_1-1712298388215.png

For reference:

Use virtual columns - AppSheet Help

Alternatively, you could go with a column type Show, which is more useful in some cases:

Improve the presentation of detail and form views using Show types - AppSheet Help

Aurelien_2-1712298530464.png

Aurelien_3-1712298600031.png

 

 

Hi @Aurelien !

I totaly forgot the virtual columns!

It worked like a charm and it's a way cleaner solution.

Changing to show type instead of image, as you instructed also work.

Thank you!

Top Labels in this Space