Appsheet Episode 28: How to generate PDF and access directly from the app. (Google Drive Edition)
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- In this tutorial, i will show you how to use AppSheet to generate PDF files and access them directly from your app. AppSheet is a powerful platform that allows you to create custom business apps without any coding knowledge.
With AppSheet, you can easily generate PDF files from your app's data and make them available to your users. You can also add buttons to your app that allow your users to access these PDF files directly.
In this tutorial, we will cover the following topics:
-How to create a workflow to generate a PDF file
How to access the PDF file
By the end of this tutorial, you will have a fully functional app that generates PDF files and allows your users to access them with just a few clicks.
If you're looking to streamline your business processes and make it easier for your team to access important documents, this tutorial is for you. So, join us and learn how to use AppSheet to generate PDF files and access them directly from your app!
In this video, i used this :
CONCATENATE("/data/EmployeeDataApp-1001768258/custom/",[UID],".PDF")
Insightful video. But I am having a problem regarding the display of the pdf. In this formula you have started defining the folder root starting from 'data', where as this folder itself in within another folder called 'appsheet'. Is there any specific reason for that?
I have tried your way and even adding it's containing folder as well, but is showing error-
'.....' not found.
Can you please help with this or share the link for the demo app
@@shibanandachoudhury5379 Thank you for your comments. i started with /data instead of /appsheet/data is because Appsheet made that assumption that the /data is relative to the main folder.
@@shibanandachoudhury5379 I will try my best to assist you.
Mind sharing the access ? as an editor/admin for this email .
arisazhar.digital@gmail.com
then we can have a look at it
I had an error when using this expression. I managed to fix it by adding appsheet before data. CONCATENATE("appsheet/data/EmployeeDataApp-1001768258/custom/",[UID],".PDF"). Thanks for the Video!
It worked, thank you very much!
For those who are having some problems, remember a basic... share the files folder in drive...
Glad it did!
Such a simple, straightforward and clear tutorial, kudos to you man! Excellent work!
Thank you! and kudos to you for being an amazing person! Appreciate it dearly. There's a few episodes that's related to PDF that you may want to have a look. Apparently certain scenarios/error may occur depending on the setup you're having.
Thank you so much
Hello,
Did anyone ever get this working im having all kinds of issues :(
this works, however I have a question
in my case 2 conditions were found,
First, when you click on a file it automatically downloads the file
the second case, when you click on the file it opens as per my brother's tutorial
and there is no difference between the two...
Please help!
Very helpful!!
Glad it was helpful!
isit possible to generate the PDF with a click of a button instead of needing to update the data?
Hi Aris, thanks for the video! I was succesfull when doing it for one data like yours, but when I want to do it for a selection of data (i.e. if I wanted a PDF that showed a table view of some filtered data like everyone from malasya), I'm stuck.
thanks Aris i fix problem
this problem
App Properties
Default app folder
The default location for app files
change this file to file Upload photo or files in google drives
is work me
I'm glad you managed to get it to work! congratulations to you!
It dosnt work ...link takes me to a page with a lot of writing?
I think there is a missing link. How have you been able to create a new folder while accessing the app?
Aris, did you find the root cause of why clicking the generated PDF reference pulls up an HTML file instead of spawning the PDF?
Hello Christian! Sorry my late response. It depends on the current setup. Issues differ and it always goes back to the location of your table and pdf folder. There's another video i did that covers this issue in depth. You may refer to this episode th-cam.com/video/dDnPQ_zSA5c/w-d-xo.html
Let me know if its any good for you, else we can work it out together and see. Cheers!
Thanks
No problem!
Hey, I am trying to follow your steps for 3 days already. Do you have an idea why the "Files" folder is not created and the PDF is not generated? Would appreciate your guidance a lot towards potential areas of errors I might have. Thanks in advance.
Hello, thanks for your videos, could you please tell me how to resize a picture in the pdf file ?
I did exactly the same, but instead of opening the pdf, it opens an html:
'/data/EPMS-221722020/files/a22302c1.PDF' not found
Probable cause: N/A
.....
Is there any other configuration you made?
Thank you for your video; it doesn't update the attached file when I make changes. Can you help me? Am I doing something wrong in the configuration?
Youre doing fine so far perhaps theres a bit more left to modify to get things going accordingly. Share some details and lets see what can be done..
Maybe you create the bot just for adds only, try to set "All Changes" in "Data change type"
First of all, I really enjoy your helpful videos, I need a little help please, I did exactly according to the instructions in the video, but when I click on the link, a page appears saying that the file does not exist. Although a PDF file was created in GDRIVE.
I tried several times but I can't.
What could be the problem?
Same issue here, any update on the solution?
Hi, ive an issue, so please help me. the pdf file isnt show in my drive. how can i fix it?
i would love to help. Do contact me @ arisazhar.digital@gmail.com
How come I cant click my PDF file in the data? U all know where is the wrong?
can you transform the download link for the pdf file into a 'Download Button'?
how to control the size of picture to reformat the report as i like ?
Thank you so much for your tutorial but I have a problem opening the pdf file from the Appsheet where a message error popped up every single time I tried so many times but this message came: bad request message or a white screen with the wrong path appears
not found
Probable cause: N/A
Path: Root
Result: FAILURE
Message: N/A
How to control the image size inside the pdf? It's showing different for different original images
Good video! How do you set up automatic SMS messages when work orders are complete?
Thanks! For SMS feature you'll have to go through the same process just add another step in your workflow to set an action to "send a sms" in the action.
Roughly that's about it
I try to test with Twilio service integrate with AppSheet. It worked. I create an app to manage the parcel for the students.
Great video. I’ve done all of the steps however it leads me to a blank page. I have redone all the steps and the same always happens. Is there a possibility that I need to grant consent on my google drive and if so how would I do it?
it sounds that you're almost there. If it's not a trouble mind sharing the expression that you've done to my email : arisazhar.digital@gmail.com
i'll have a look
How to show photo, please explain the format (i mean
what to do when the file has time stamp aswell
First thank you very much for the video. Very educational and of good quality. Unfortunately the concatenate did not find the directory to direct to the PDF. The bad request message or a white screen with the wrong path appears.
Path: Root
Result: FAILURE
Message: N/A
I’m having the same issue here. Did you fix it?
same issue
Probable cause: N/A
Path: Root
Result: FAILURE
Message: N/A
Details
Hi Aris, thanks for your video successful at creating a pdf file with my desired file name prefix. But I have a problem with re-calling the file, the pop-up page says file not found. and may I also know how to set custom download path? I think you forgot to include it in this video.
I've your follow-up video for the fix but I still get an error like, the new tab that should display file only shows an HTML coding that includes "not found"
first of all, thanks for the great video!!! im having a trouble that when i try to open the pdf file right after an update all the informations are all set up just fine but the file didnt appear, but if a made a change in any information to force an update and generate again the pdf the images now appears, i think that the pdf is made so fast that when the pdf is done the image wasnt upload yet and it is causing the bug, any suggestion?
Hello Jose! Glad you're here..i assume the first time it's working just that it's pending creation of the PDF unless the first time the file was not created. I would suggest reviewing the workflow or it's just the bot taking it's sweet time to create the file. Happened to me few times. Guess we just have to wait a few moments before opening the file.
Nevertheless, am happy that you managed to create the file.
Maybe you can trigger a separate PDF workflow that generates a PDF file via timestamp etc as a backup..redundant but it gets the job done.
@@aris_azhar yeah, since i dont actually need the pdf done right after i set up a wait action of 5 minutes, so im sure all the informations and files are uploaded correctly, and yes it already gets the job done, again thank you very much it will help me a lot !!!!!
@@josecampos9832 Yeah! Happy to know it worked for you man. You're most welcome brother 👌
Hi, i made it, but all records path same pdf 😢
I tried all the methods, but unfortunately it didn't work
hi! sorry that you're facing issues..are you using Google spreadsheet for your app?
@@aris_azhar Hi, i am using Spreadsheet. Is there a problem with that?
nothing happened when i click the file
Hey bro, it s getting an error, could you fixed??
Hello, what error are you currently facing?
HELLO SIR , I AM YOUR SUBSCRIBER I WATCHET THE PDF FILE APPSHEET GENERATOR GOOGLE EDITION , BUT I FOLLOW ALL YOUR STEPS AND I AM GETTING A HTML FILE WHEN I CLICK THE PDF FILE THROUGH THE APP
CAN YOU HELP ME SIR , I REALLY WANTED THAT
HERE IS THE SCREENSHOOT
THANKS FOR ANSWERING
Hello! im sorry to hear that you are having issues with it. Mind sharing the admin access to your app? and folders so that i can see what can be done to fix it
I have the same problem. Could you fix it? Thanks for sharing,
Ariz, how can I contact you privately?
I can't follow
I need a pdf file to have a header on every page. How can I do this?
Yes, this is possible. When editing the document click insert, Headers and Footers, Header. What every you put in the Header will be on each page.
'/Files/6d18ebcf.pdf' not found
Probable cause: N/A
Path: Root
Result: FAILURE
Message: N/A
Saiba mais