XY column type!

Hi,

I wan to use a XY type and I am trying to use a image that I have in my google drive, and I try to use the URL of the image and nothing happens, what can I do to make it work?

0 7 405
7 REPLIES 7

It sounds that your image is not shared as โ€œPublic on webโ€.

I still dont understand thisโ€ฆ tried every thing i still get an errorโ€ฆ

Ami
Bronze 5
Bronze 5

Your Google Drive files are typically protected from anyone with the link being able to access them. This protection is blocking the access to render the image for XY type (it has to be publicly hosted). To enable this on Google drive, try this - open sharing settings on the image in Google Drive. You can do this by right-clicking on the image and selecting โ€œShareโ€. On the bottom, you will see an option to โ€œShare link to โ€ฆโ€. After you click it, you should be able to choose โ€œAnyone with the linkโ€:

CODE.
CONCATENATE( โ€œhttps://www.appsheet.com/template/gettablefileurl?appName=PlotAllocatorApp-295153&tableName=Estates&...โ€,[ESTATE LAYOUT])

RESULT

2X_b_bce0319a3bc5e1187c03ce807c8c64d953e5f136.png

I have tried getfileโ€ฆ Not working as it behaves like a text type. The above is the closest but no image
please note that image and image folder are both public

Expected Result

So after much trial, I found a solution.
ERROR: Before now the referenced image was in a column set as column type IMAGE.

SOLUTION:

  1. Ensure your image is set as public on Google drive. (As explained by @kamila )
  2. DO NOT set the referenced column (column where your image is) as IMAGE. INSTEAD set that column as column type FILE.
    3.In your XY column, set background image as the column where the image is. Eg [ESTATE LAYOUT] or if from another table [ESTATE].[ESTATE LAYOUT]

This is the solution. And thanks to appsheet for making it simpler.

Thanks for following up with a solution!

Top Labels in this Space