Publish
Publish your code as a ZIP file
Last updated
Publish your code as a ZIP file
Last updated
The last step, after developing the page code and creating the entity in Ubidots, is to upload the code to the Page, in ZIP format, so it is publicly available and it can be served from Ubidots.
Follow the below steps:
Compress the files from the Development section, in ZIP format, from the root of the file structure, not the parent folder.
Make the below HTTP request. Be sure to replace <page_id>
, <YOUR_TOKEN>
and <path_to_zip>
as needed.
You should get this response:
Once the page is created and the code uploaded to it, it's only a matter to serving the Page from and ubidots Dashboard. To do so:
Create a dashboard whose type is set to Custom
In the "Custom page URL" field, enter the following URL after replacing <page_id> with your respective Page id
https://industrial.ubidots.com/app/pages/public/<page_id>
This URL is Ubidots format to expose your custom code through an URL that can be loaded from a Dashboard.