Storage within T6 is an essential component for managing massive data storage; it allows for the efficient storage of backups, documents, images, and videos. Within T6, we currently use the Microsoft Azure cloud storage service, Azure Blob Storage. It can be used for a wide range of scenarios, including unstructured data storage, backup, disaster recovery, archiving, and sharing static content such as images and videos. It uses SSE (Security Service Edge) to automatically encrypt data when it is sent to the cloud.
To use storage within T6, we will need to have an account on the Microsoft Azure Portal.
We will also need to configure the Storage within T6, and we will need to create a Data Table and a Data Form.
Within the Azure Portal, after creating your storage account, we will need to collect the ConnectionString
to configure the storage within T6.
- Access Storage Accounts within the Azure portal;
- Access your storage account that will be used in T6;
- In the left-hand side menu, expand Security + Networking and select the Access Keys option;
We will have 2 access keys for each storage account (Key1 and Key2), which can be updated whenever necessary. Each key has a Key field (which we will not use) and a Connection String field.
- Choose one of the Keys, and click Show next to the Connection String field;
When clicking on show, our connectionstring will be displayed. Click on
to copy the entire connectionstring to the clipboard;
To use Storage, we will follow these steps:
- In the main menu of T6, in the Configuration section, select Storage;
- A panel will open on the side, where we will create our storages (location where already created storages are displayed);
- Still in the Storage panel, we will click on
, and the fields for configuring our storage will be displayed. We will have Name, Type, Container, and Connection String;
- Name: We will define a name for our storage within T6;
- Type: We will select the type of storage via a dropdown (currently we have the option Azure Blob Storage);
- Container: Name of the container that will be created in the Azure Portal to store files sent by T6. When saving, the container will be created (This name can only contain lowercase letters, numbers, and hyphens and must start with a letter or a number);
- Connection String: We will enter the connectionstring that we collected from our storage account in the Azure Portal;
- After completing the fields, click on
;
- When we save, we will return to the home page, now with the created storage being displayed:
- In the T6 explorer we will create a Data Table;
- In the properties step, after defining the Data Table Name, we will select the Storage Type and optionally define a Storage Folder;
- Storage Type: We will click on
to expand the dropdown and display the available storage options for selection. At the moment, we have the options Azure Storage and none;
- Storage Folder (optional): If we define a name, a new folder will be created inside our container in the Azure Portal where the uploaded files will be saved. If left blank, the uploaded files will be saved directly in the container;
- After completing the properties step, click on
;
- In the Configure Columns step, we will add 2 columns, the first column of type Text, and the second column of type File;
- After completing the column additions, proceed to the next steps and click on
.
Once created, when we try to edit the data table, the Storage Folder option will not be editable.
- In the T6 explorer we will create a Data Form;
- In the properties step, we will define the Data Form Name
- We will select the Data Table created previously;
- In Layout, we will select the columns from the Data Table and add them to Columns;
- Before saving the form, change the view mode to Window;
- To finish creating the form, we will click on
.
To use the Storage, we will upload files in our data form:
- Select the Data Form created and click on
;
- With the form open, add a description in the first column and in the second column, click on the dropdown and add a file;
- Click Save in the ribbon to complete the data entry;
While the storage is set as Azure Storage, every file added here will be saved to your storage account in the Azure Portal.
To view the content of an uploaded file, simply reopen the form, select the dropdown of the desired file, and click on
to download it.
If the created Storage is deleted, or if in the data table we change the storage type to none, the files in our storage account in the Azure Portal will be deleted.