File not found after generate a PDF

Hello everyone ,

So I am making an Inventory Management app that can generate PDF report using automation

I have check that the app was succesfully generate a PDF file in my google Drive

My gsheet are in /My Drive/

but when I press the open file action button it show this

Darwish_1-1706428844627.png

These are my setting in appsheet

Darwish_5-1706429019419.png

Darwish_6-1706429038387.png

 

Darwish_2-1706428925734.pngDarwish_3-1706428943096.png

Darwish_4-1706428980453.png

Darwish_7-1706429078207.pngDarwish_8-1706429091388.pngDarwish_9-1706429106894.png

 

 

 

 

Solved Solved
0 3 123
1 ACCEPTED SOLUTION

Then you should use "/appsheet/Files/"&[Item Name]&".pdf"

View solution in original post

3 REPLIES 3

As per your definitions and if you have not changed the defaut app folder, the PDF file is probably saved to Drive > appsheet > data > Appname-1234567 > Files.

When using a file column, you need to write the file name with a correct path starting from the folder where the gSheet is. You said it's in the Root, then your formula shoule be something like "/appsheet/data/AppName-1234567/Files/"&[Item Name]&".pdf"

I already change the default folder to /appsheet and the pdf generate on here

Darwish_0-1706578744485.png

 

 

 

 

Then you should use "/appsheet/Files/"&[Item Name]&".pdf"

Top Labels in this Space