With Box Platform, developers can accommodate Box’s defended billow agreeable administration and accord capabilities into any app.
In this example, we’ll appearance you how to actualize custom web forms and upload files to Box application the Box Platform APIs acknowledgment to some of the turn-key appearance accessible with Stamplay like hosting and abstracts storage. These two appearance of Stamply, forth with the capabilities of the Box Platform APIs, let you body custom app on the Box Platform actual easily.
To get started, you’ll charge an annual on Stamplay and Box. If your business already uses Box, you can assurance up for a chargeless Box Developer annual application an email abode added than your business email abode to use with this tutorial.
First, actualize a new activity on Stamplay. On the larboard aftereffect in the Stamplay console, bang on Objects and actualize a new article alleged formdata. Objects are abstracts models that Stamplay uses to accomplish a database and a set of abounding fledged REST APIs to assignment with the database.
Once the article is initialized, let’s add backdrop (attributes) as follows:
The end aftereffect attending like this:
Here, we actualize an aspect for anniversary anatomy acreage that we appetite to abundance and, potentially, administer them as metadata on the book in Box. By accomplishing so, Stamplay can now accept abstracts from a applicant (in this example, is a web form) and advanced it to Box via the Box Platform APIs application a Flow.
Once the Article anatomy is created, let’s body a Flow in Stamplay to accelerate the book adapter to Box. In the Stamplay console, bang on Flows and actualize a new Flow alleged Upload Flow and add the afterward steps:
As you can see on this additional step, we’re avaricious some abstracts from Footfall #1 (the filename and the adapter URL) while accouterment a changeless ID for the destination binder of our uploaded file.
Any added aspect of the Article formdata could be acclimated to add added advice on our uploaded book on Box, as we can brainstorm to add addition footfall to add metadata on our file. Addition abstraction could be to actualize folders dynamically to host this book based on the abstracts beatific from the form.
Every Stamplay activity comes with web hosting included and this allows you to body custom html/js front-end apps like the one that you can see here: https://box-custom-upload-form.stamplayapp.com/
You can now alpha from that boilerplate and adapt it aloof by afterward the accomplish below:
The appId can be begin in the Dashboard -> Settings appearance of your project.
Once you’ve completed these steps, you should see your up and active on a URL that looks like this: yourappid.stamplayapp.com.
Just in case you’re apprehensive if we acquiesce you to configure a custom URL, the acknowledgment is yes, we can do that too. 🙂
If you appetite to adapt this arrangement to fit your own form, you accept to:
Make abiding that the backdrop of your article abstracts archetypal reflect the names of your fields in the form.
Nothing needs to be afflicted in the Flow, as this one alone passes the book to Box application the Box Platform APIs, but if you appetite to use the added anatomy fields and administer them as metadata on the book in Box, accept a attending at these added tutorials actuality and here.
At Stamplay, we accomplish it accessible for bodies to automate processes and actualize high-value integrations by attached calm APIs. If you charge advice aing your apps or accept an API that you appetite to accomplish accessible to connect, cheep us at @stamplay and/or bead us an email at [email protected]
Why It Is Not The Best Time For Free File Upload Form For Website | Free File Upload Form For Website – free file upload form for website
| Encouraged for you to my own blog, with this time I’ll explain to you regarding free file upload form for website