budibase icon indicating copy to clipboard operation
budibase copied to clipboard

PDF / Document component (Carbone Integration?)

Open joebudi opened this issue 3 years ago • 46 comments

As a land surveyor, I would like to generate pdfs from table data, so I can store and print them (possibly to send to clients).

More info can be found here: #1353

joebudi avatar Apr 13 '21 09:04 joebudi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 12 '21 14:06 stale[bot]

Nope - very relevant

shogunpurple avatar Jun 12 '21 14:06 shogunpurple

I would welcome this too. Preferably a pre-created template (either DOCX, ODT or PDF) with handlebar variables that are then used to create the PDF.

Bogey avatar Jun 25 '21 14:06 Bogey

It is required. Pls refer post ideas # 1696

Manishkparmar80 avatar Jun 27 '21 04:06 Manishkparmar80

@joebudi is this feature will be avaible in July 21 release ?

Manishkparmar80 avatar Jun 30 '21 01:06 Manishkparmar80

Hey @Manishkparmar80

@aptkingston had a stab at a report / PDF component during the company's lab day last week. There's still a lot more work to do to complete the component. It's not on our roadmap for this month. But, there does seem to be demand for it so I might be able to push for its completion.

To help me get the work approved, I will need you to detail, very clearly:

  • why you need the component (use case)
  • how you expect it to work
  • what you expect it to do

_P.s this comment is not confirmation that the component will be delivered for the July release. _

joebudi avatar Jun 30 '21 06:06 joebudi

why you need the component (use case) A PDF is the new paper (the next best thing) because of it's psychological effect. A report in PDF adds some sort professional weight above an email. It offers to be a document in line with corporate identity, and if printed it maintains that identity. The reports I create are summaries of audits done, numbers analysed and displayed as graphs, and completed with a final recommendation.

how you expect it to work To take out the guesswork of how the PDF will look like the template is designed as DOCX, ODT or PDF. Conversion from HTML proofs still unreliable with the positioning of a/o images. Templates are created upfront with either handlebar, square brackets or other declaration form for variables. Example:


Header of report. Prepared for: {{variable1}} Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Subheader Current situation can be described as: {{variable2}}

Recommendation Our recommendation for {{variable1}} is to {{variable3}}

{{variable4}} {{imagevariable1}}


Via a special prep-form I select with what and how the variables are filled. variable1 becomes client X's name that is selected from a dropdown select. Picking client X from the dropdown selects variable2 to be automatically filled with data stored and, of course, linked to client X. Variable3 has some logic: if clientX.profit > 250k then variable3 becomes recommendation ABC. if clientX.profit < 250k then variable3 becomes recommendation XYZ.

Then the data is pushed to create a PDF. This PDF can then be send via email, stored for later access.

what you expect it to do Preferably PDFs can be digitally signed and/or encrypted. Also permissions can be set (can user print, copy, extract or delete pages yes/no).

I hope this helps? Cheers, Eddie

Bogey avatar Jun 30 '21 08:06 Bogey

As for the use case, I'd like to add the following:

Whereas Budibase is being used as an internal tool to automate certain processes in organizations, there are often QMS/CMS requirements to sign the final document or form (soft or hard copy) and then store/save it. The PDF is most suitable and usable format for it, as it also can be signed electronically.

sergey-dme avatar Jun 30 '21 08:06 sergey-dme

Other use case :

E.g.

  1. In store we book the order for item then they need to share Invoice and Delivery challan with customer. Invoice , delivery challan etc are report.

  2. If you visit any grocery shop then after payment they give us printed bill which is also report.

3.After online shopping, we receive purchase bill or invoice in PDF format by email in digitally signed format.

Reports are heart of any application or software. Without report, application can be think of useful.

Application must have provision to provide report in multiple form PDF, DOC , excel etc based on business requirement.

Manishkparmar80 avatar Jun 30 '21 12:06 Manishkparmar80

@joebudi Yesterday come across few more real time use cases :

  1. Making online transaction via bank and it provide me option of downloading transaction receipt in PDF , Word or excel.

  2. While downloading my bank statement, website providing me option of downloading bank statement by PDF , excel, work or CSV.

Manishkparmar80 avatar Jul 02 '21 02:07 Manishkparmar80

@joebudi Hi, is this feature/ functionality( PDF reporting) is considered for product enhancement?

Manishkparmar80 avatar Jul 09 '21 12:07 Manishkparmar80

Hey @Manishkparmar80

We've talked about this internally and we will need PDF support in the near future. The extent of the functionality is to be decided. There are no plans to complete this work, this month. We have an IPM meeting at the end of the month, where I will bring this discussion forward, to the team. We will then make a decision on whether or not it is to be completed in the next iteration.

During a lab day (2 weeks back), @aptkingston made decent progress on his interpretation of what this would look like. So, there is 1 version of PDF support nearly* complete, but it does not contain some functionality requested in this discussion, nor does it follow the same UX.

  • I am not sure how complete this is.

joebudi avatar Jul 09 '21 12:07 joebudi

@joebudi Thanks for sharing update.

Manishkparmar80 avatar Jul 09 '21 13:07 Manishkparmar80

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 07 '21 13:09 stale[bot]

bump

shogunpurple avatar Sep 07 '21 15:09 shogunpurple

Adding my own comment that PDF export support would be great (and required). To clarify, this would need a certain level of complexity i.e. being able to pull data from related records, add images etc. Perhaps the easiest way would be to supply the html template, which we'd be able to use loops etc for writing in the html, then convert that html to pdf. Thanks!

pepeday avatar Oct 25 '21 09:10 pepeday

Just saying that I had 2 more people say to me today on calls that "Printing Documents" is one feature that every other low/no-code platform is missing.

mjashanks avatar Nov 17 '21 20:11 mjashanks

Bubble has this feature (more or less)

pepeday avatar Nov 17 '21 20:11 pepeday

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 16 '22 21:02 stale[bot]

wow whats the update on this an patiently waiting

igbojionu avatar Apr 06 '22 12:04 igbojionu

@igbojionu It's on the Roadmap for Q3 this year!

kasgithub8 avatar Apr 12 '22 13:04 kasgithub8

Hi I wrote here my needs for a PDF integration in BB.

I would like to be able to generate a PDF file when a row is created or updated via an action or automation and after this file is saved in a field of the row. Then I would like to be able to send this file via email. the construction of this file could be done with a template and handlebars syntax as for onboarding mails. jsPDF is maybe a solution?

neoguet avatar Apr 18 '22 00:04 neoguet

Hello if I may,

I would also suggest to use the jsreport to create pdf rather than Carbone.

oswaldB avatar Jun 04 '22 15:06 oswaldB

I can see myself using the PDF generator + Graphical Signature for enterprise procedures consent!

insomniacj93 avatar Jun 22 '22 14:06 insomniacj93

Hello there,

is there any update when the PDF funcionality will be published? Thank you.

berief avatar Jul 22 '22 11:07 berief

@neoguet - I just heard the same requirements today form a client. Being able to generate and download a pdf with official header would take it to the next level from an enterprise prospective. Right now taking the client to a screen to review costs, so would be great to download a pdf version of it when doing the review. Also, having the ability to include the pdf in automation, so you could send it out within a notification when the review is completed. It really has so many use cases when having to share an official document with outside entities - invoicing, purchase orders, billing, survey, bill of lading, etc.

lburtwistle avatar Aug 05 '22 21:08 lburtwistle

I add my voice to say that this functionality is vital. The companies that go to a low-code tool are in overlap with those that still value or require report in files instead of a dashboard.

AlejandroFNadal avatar Sep 14 '22 14:09 AlejandroFNadal

Yep, Companies that use Low-Code to get fast and easy app fitting their unique workflow mostly are that small or have overlapping situations with external service providers and other stuff , who need need paperwork.

Thats why it would be very great to get a small and simple component that will put a PDF printout with value on predefined "positions".

Like, define bindings and their positions on the PDF, upload a PDF Template. And done. Add this as action, so you get generated PDF with the values which you can print.

mahxds avatar Sep 15 '22 22:09 mahxds

We're looking at a number of potential use cases for Budibase at my company and this is considered a make-or-break for many of them. Just throwing my hat in the ring for "This is a really important feature" I guess.

Voroxpete avatar Oct 07 '22 15:10 Voroxpete

I found this issue trying to build an invoice generator app. Seems like a basic feature lots of people need. What would be the best way to contribute to this feature?

davidpfahler avatar Oct 14 '22 10:10 davidpfahler

Agreed with all the others, this is mandatory.....

fdecourt avatar Oct 25 '22 08:10 fdecourt