So basically I have a simple workflow that creates a file from a template and saves it in a specific place in my Google Drive. This workflow happens every time a specific action is done. new files are constantly being created and saved in the google drive. How (when the file is created) can i fetch the URL of the SPECIFIC file that was created, to store in a database where users can then view each of these files?
Solved! Go to Solution.
Hi Jason, give this a try and let me know if it works.
Hi Jason, give this a try and let me know if it works.
Hi Rich
I am following the above steps ,what formula should I use for step 3
Can you please suggest the formula .
Could you please explain a little bit better with the current terminology ok automation that's in appsheet?
It boils down to where you want the URL to be
So I have an app set that when I create a ticket, in the attachment folder path I have the following:
CONCATENATE("/",Tickets,"/",[Ticket number],"_",SUBSTITUTE([Customer]," ",""),"_",SUBSTITUTE([Sitio Name]," ",""))
This creates a new folder within a Tickets folder in google drive and set the name of the ticket number + Customer + Sitio Name.
I would like to know if its possible to get the url of that folder created and place it in the same record as reachable url.
Nuevamente, debes saber exactamente dรณnde quieres la "URL". Puede que ni siquiera sea necesaria una URL
Si necesito la URL, la utilizo como un acceso directo para que cuando los tecnicos hagan los trabajos en sitio, puedan subir las fotos y los videos en la carpeta que se creo. No importa si es un botรณn o una fila mas del registro, lo mas importante es saber como generar la URL de la carpeta que se crea automaticamente cuando creo un nuevo registro.
Thanks for the response!
So, i now have my file column saved set as the โFILEโ type.
and my formula is as follows โappsheet/data/[InspectionID]โ. the inspection ID is the name of the file, and ive tried adding โ.PDFโ to the end of it. I keep getting a browser error of โfile/directory not foundโ, is my formula wrong or am i missing something?
do you have the file being saved to a custom path or is it just going to the app default path?
The formula you have above should look like this:
โappsheet/data/โ&[InspectionID]&".pdf"
you can also use the concatenante function:
concatenate(โappsheet/data/โ, [InspectionID],".pdf")
If you are using the default folder for the app you should just need this:
[InspectionID]&".pdf"
Hi,
My problem is that mine is being saved under โANY SET PATHโ / Date / Month.
Is there a setting in Appsheet that does that?
How do I get rid of โ/Date/Monthโ?
Thank you!
You need to format the date without โ/โ with the file name. It will create a subfolder. You could try to change the date for example like TEXT([Date],โmm-dd-yyyyโ).
It works thanks! i used the concatenate method and it worked perfectly!
User | Count |
---|---|
44 | |
29 | |
22 | |
20 | |
14 |