Image url links

Hi!

I want when uploading an image in an Appsheet, shows in Spreadsheet the URL of the image not the folder and file name in the Google Drive. 

 

 

 

I am using:

 

CONCATENATE(

"https://www.appsheet.com/template/gettablefileurl",

"?appName=", ENCODEURL(CONTEXT("AppName")),

"&tableName=", ENCODEURL(CONTEXT("Table")),

"&fileName=", ENCODEURL([image])),

"")

 

the result:

https://www.appsheet.com/template/gettablefileurl?appName=AppName&tableName=Table&fileName=

 

So Spreadsheet show appname and table name but not file name

Can somebody help?

0 10 159
10 REPLIES 10

Is [image] the name of the column?  By the way, I don't fully understand your goal.  Are you trying to get the image to display in the spreadsheet?

@Kirk_Masden 

I want to generate clickable url. 

Inside the app?  OK.  What about my first question? What is the name of the column to which the image is saved?

The URL is to be generated in the column containing [image] to [image link]. 

Thanks!  But it does look like you [image] column is empty.  I wonder why.

The image column is not empty. 

Thanks for your response.  I'm afraid I don't understand what the problem might be. 

Here's a URL that works:

https://www.appsheet.com/template/gettablefileurl?appName=KankakuV9-3097139&tableName=Kankaku&fileNa...

This has an app name,  table name, and file name.  But your "result" doesn't have any of those. I think you need to figure out how to access those names in your expression.

@Kirk_Masden Thank you for your reply. But it is not working in my case. All my formula are correct still not working. 

I see.  I'm sorry to hear that.  I'm afraid I don't know what to do next.  I hope you can find a resolution.

Remove both "Context" words from expression, that worked for me, after spending a whole day wondering why it would not work

Remove what's on red

CONCATENATE(

"https://www.appsheet.com/template/gettablefileurl",

"?appName=", ENCODEURL(CONTEXT("AppName")),

"&tableName=", ENCODEURL(CONTEXT("Table")),

"&fileName=", ENCODEURL([Image Column])
)

Top Labels in this Space