115
Generate a PDF from database items
Activity
Newest
Oldest
Dhaval Wathare
I could build a paid web service for this.
Steps you would take to use this :
- Setup an HTML template (load your own, or select one)
- Send your apikey + template id + data to fill, as a GET / POST custom action request to my service.
- My service returns the pdf download link.
Anyone interested ? Reply to this comment
Dim
@Dhaval Wathare: How would it work for multiple lines on a documents? Like an invoice. could the post request be able to handle this?
Dhaval Wathare
@Dim: A post request by itself can definitely handle multiple records, provided adalo can compose it into one single JSON data. This would be the preferred way of running the service. But as of now I think thats a limitation to Adalo's magic text (it doesn't let you iterate). Let me know if you can think of a way to do it this way.
Meanwhile, a workaround is to use custom lists and countdown timers to iterate over line items and send multiple get/post requests with a common reference id.
This can be done.
Dim
@Dhaval Wathare: So I was thinking every time we create an invoice line we could do an update request. I think this would be difficult to manage on your part though.... There's a risk that my update will only replace other invoice lines instead of adding them. Also the subtotal would need to be updated following that. Which would need another update request. All my invoices have and ID so it wouldn't be hard to post info to the right invoice.
Dhaval Wathare
@Dim: Invoice line items can also have their own id. The service can be intelligent enough to replace them when the id's match, appending them otherwise. While the totals get recalculated on each update. Once you're done, a request to finalise can be sent, which will then build the pdf and send back a download link.
My concern would be more on the economics. What kind of volume of invoicing are you looking at ? how frequently ?
Also, no one else has commented so far. So seems like there's no demand for this.
Dim
@Dhaval Wathare: Yeah I think people want an adalo component and not deal with setting up and API
Dhaval Wathare
@Dim: Should be doable too. Same thing internally, except I abstract everything behind a component. End user only sees a button like (or wtev else) component to attach to a database collection + filtering options. Click the button, get the pdf
Still there needs to be some demand to invest time into this.
C
Carlos Argueta
@Dhaval Wathare: Hello, i need this ASAP, How can I contact you?
Dhaval Wathare
@Carlos Argueta: Hi Carlos, there doesn't seem to be much demand for this, so not pursuing it as a service. But if you still need a bespoke solution, please DM your requirements / usecase specifics to me on twitter (@DhavalW).
Dim
Will this be in the works soon? Can't wait for this I need it for my app and doing it with api is very hard because I need 2 tables on the pdf.(customer info and invoice lines)
BakerOfIdeas
Hopefully, this get's completed asap. Very important feature and one of the reasons why I let my subscription go. I do plan on renewing it in the near future though.
Colin Winhall
This is very easily possible through using 3rd party automation tools such as zapier and integromat.
Dim
@Colin Winhall: This is easy as long as you don't have dynamic content. EX: multiple lines on an invoice. When it gets dynamic the solutions are up to 300-400 $ a year.... And it doesn't work well if you want you user to visualize it within the app...
Ben Haefele
A
Aj Birdseye
I have been needing this feature for a long time, an easy way to print from a adalo
Mischelle
Very good idea Paul, and I think this should be a basic function of any application. This should be a priority, as it can also be used for creating reports etc.
Dim
@Mischelle: I think this and custom reports should be a priority!
Bartosz Krawczyk-Demczuk
It's important must have for many apps. I should be on top of the list.
Greg
Good idea, Paul! I can see powerful use case for this.
Dim
I would love for them to allow us to send emails too! e.g. Create the pdf and send it via the customers email. What do you think about this @Paul Jepson ?
Load More
→