Getting started

Accessing the Pages module

Search the Pages module within the Dev Center section in the Navbar:

Creating a new Page

Click the create a new page button

Page editor

The page editor interface is composed of:

  1. File Explorer: A section displaying the list of files available for editing or creating new ones.

  2. Editor Panel: The main area for editing the content of the selected file.

  3. Tab Bar: Displays open tabs for multiple files being edited, allowing switching between them.

  4. Page Name: Field displaying the Page name

  5. Page URL: A field displaying the Page's url featuring a button for copying it.

  6. Preview Toggle: A toggle to enable or disable the live preview of Page.

  7. Dark Mode Toggle: A toggle to switch between light and dark themes for the interface.

  8. Save Button: A button to save the changes.

Quick example

Proceed to create a folder called static using the + button at the File Explorer:

Click the Three-Dots menu at the staticfolder and then create a file within it called data.js

Paste the following contents on each of the corresponding files:

data.js
body.html
style.css
script.js
manifest.toml

Then click the Save button to save the page. You'll be prompted for a name:

Upon giving a name to your page, you'll be able to copy its URL:

Now, go to the Dashboards module and create a new dashboard to use it for displaying the recently created Page. Once you've created said dashboard, go to its settings and change Dashboard type to Default and then paste the previously copied URL in the Custom Page URL field:

When you reload the dashboard, the page created will be displayed:

That's it! You've just developed your first Page. Head to the next section to learn more about developing Pages in Ubidots in greater detail:

Last updated

Was this helpful?