Documentation

Public Files Reference

In this article

This article contains all the information you need to know about each setting within the Public Files page.

Robert van Boesschoten

Published: 17-10-2019

Last updated: 01-11-2019

Public Files

Public files are files that can be accessed from anywhere in your application, also known as Assets. If you’re looking for a good way to store your logo or a cover image, this is it! If you’re looking to store scripts or css, we recommend making a Template out of them.

You can start uploading your own public files by going to Tools > Public files.


Here’s what everything does:

+New: This button opens a window where you can upload a new file.
Question mark [ ? ]: By clicking this button, a new panel pops-up. This panel has a small video that shows you how to create a new public file, as well as links to some helpful articles.


Search bar: Here you can search for public files by name or type.
Name: The name of the file/asset.
Content-Type: Auto-detected type of the file. This is relevant when including the file/asset in webservice requests.
Size: The size of the file/asset, shown in bytes.

Uploading a new public file

When you first take a look at your public files page, it’ll most likely be empty. That means it’s time to upload something! Press the `+ New` button to start uploading a new file.


Here you can upload your file and give it a name. Public files can be any type you want, but they’re limited to 10mb each, so try to keep that in mind before you try uploading any gigantic archives. We also recommend not using any special characters or spaces for your file’s name, to make sure it’s easy to use.

Editing or deleting public files

You can edit a file by clicking on it and pressing Edit. Here you can rename your file or upload a different file to replace it.

You can also delete a file by pressing the Delete button while you’re editing it.


Changelog


Want to know how come your file’s suddenly changed? No problem! Betty Blocks automatically tracks changes to your files. You can see when someone changed a file and see exactly who did it by pressing the changelog button on the navigator whenever you’re on a file’s detail page.

Using public files

You can use your file anywhere inside of your Betty Blocks application using its Liquid tag. You can find its Liquid tag by clicking on it.

In this article