truth3 / iformbuilder-pdf-generator Goto Github PK
View Code? Open in Web Editor NEWUsed to generate PDFs from the iFormBuilder platform
Used to generate PDFs from the iFormBuilder platform
It is a little bit of a mission wen trying to configure more than 3 forms and date ranges, so a simple interface would be great. Honestly that's the only part that's a little time consuming.
The current method of determining the number of records is not reliable and needs to be modified to read the response header keys, rather than the index.
Instead of downloading locally, it would be ideal to store on Google Drive for sharing internally with colleagues.
The README text is not accurate and doesn't clarify the variables that are required very well.
A user request for the following came via email.
Is it possible to add multiple fields into the document name?
Something like:
$pageArray = ["3403833;column1-column2-id;fields=id"]
Right now the PDF files which are saved are named according to the record ID. It will be useful to allow people to download the file with the name based on some data.
Site name and date time could be quite helpful for any inspection based form where a site will have many inspections over time.
If you want to use anything over than the record ID for file names, you run the risk of overwriting files if any of the data is the same.
Consider adding a check to see if the name parameter contains anything other than "id" use a different naming convention which includes ID somewhere in the name to keep everything unique.
There is no warning or indication that the user credentials being used are valid before we start and during. Possible scenarios to catch are
Currently the setup only considers a field value on the parent name which can be used to create the file name. The value may sometimes exist on a subform, so there should be a way to specify that.
When a file name includes system control characters like :
or /
we run into problems saving the file name. Ideally we should sanitize these to help with system portability.
The record completion count looks at the wrong variable currently to get this value.
The current version doesn't work on forms which have more than 1000 records in them.
Currently this only handles the subdomain of a production iFormBuilder account, and it would be better if different environments can be defined in the keys file.
Existing variable format: apple
Proposed variable format: apple.iformbuilder.com or apple.zerionsandbox.com
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.