1. Installation
Install Simple Azure Storage Connector (Blob) from Forge into your OutSystems environment.
After installation, open your consuming application and add a dependency to the required actions:
Publish the consuming application after adding the dependency.
2. Required Configuration
Before using the connector, configure the required settings.
StorageAccount_Name
Azure Storage Account name used to build the Azure Blob Storage request URL.
StorageAccount_Key
Azure Storage Account access key used server-side to generate short-lived SAS tokens.
This value is sensitive. Do not expose it in:
DefaultSASExpiryMinutes
Default validity period, in minutes, for generated short-lived SAS tokens.
Recommended value:
10
PrivateGatewayPort
OutSystems Private Gateway port for the mapped Azure Blob endpoint.
Use:
0
3. Azure Storage Prerequisites
Before using this component, make sure the following are already available:
For private endpoint scenarios, configure the following separately:
4. Basic Usage
After the settings are configured, call the blob actions from server-side logic.
Recommended pattern:
5. Create or Update Blob
Use Blob_CreateOrUpdate to upload a new blob or replace an existing blob.
Typical use cases:
Recommended flow:
Example blob paths:
documents/sample.pdf
reports/yyyy/report-001.xlsx
attachments/request-id/file.png
6. Get Blob
Use Blob_Get to retrieve a blob from Azure Blob Storage.
7. Get Blob by URL
Use Blob_GetByURL when the full blob URL is already available.
8. Delete Blob
Use Blob_Delete to remove a blob from Azure Blob Storage.
9. List Blobs
Use Blob_GetList to retrieve blobs from a container.
Example prefixes:
documents/
reports/yyyy/
attachments/request-id/
10. Public Azure Blob Storage Access
For public Azure Blob Storage access, configure:
In this mode, the connector uses the standard Azure Blob Storage public endpoint.
11. Private Endpoint Access
For private endpoint scenarios, configure Azure networking and OutSystems Private Gateway separately.
Then configure:
The component uses the configured Private Gateway port to route requests to the mapped Azure Blob endpoint.
12. Security Recommendations
Keep DefaultSASExpiryMinutes short. Recommended value is 10 minutes.
Keep StorageAccount_Key server-side only. Do not expose it in:
Do not store generated SAS URLs permanently unless the expiry and access scope are understood.
Validate files before upload, including:
13. Error Handling
Common error causes include:
Recommended handling:
14. Recommended Implementation Pattern
For better maintainability, create wrapper server actions in the consuming application.
Example wrapper actions:
This keeps business validation, permission checks, and blob naming rules inside the consuming application while using this component only for Azure Blob operations.