BPT

Banner producer

BptBannerProducer

Consumer-facing banner customization tool. Loads a .bptt template for lightweight editing (text, colors, images) and ordering.

Banner Producer Parameters
Load a .bptt banner template to display content.
Current Configuration
📋
<BptBannerProducer
    TemplateData="@_templateBytes"
    Height="600px"
    BannerListOrientation="BannerListOrientation.Left"
    ShowOrderButton="true"
    OrderButtonText="Place Order"
    OrderConfirmationText="Please confirm that you want to place this banner order."
    ShowSocialMediaFrame="true"
    EnableAdCopyFields="true"
    OnOrder="HandleOrder"
    OnExport="HandleExport"
    />

@code {
@using Bpt.Components.Tools

// Fields
private byte[]? _templateBytes; // loaded from a .bptt file

// Event handlers
private Task HandleOrder(BannerProducerOrderResult result)
{
    // result.Banners — each item has BannerName, Width, Height, BptiBytes, PngBytes, AdCopy
    return Task.CompletedTask;
}

private Task HandleExport(BannerProducerExportResult result)
{
    // Component already downloaded the file(s) in the browser;
    // this is the observation hook for analytics or upload to your backend.
    return Task.CompletedTask;
}
}
Related learning

See the Banner Creation tutorial for a step-by-step walkthrough.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.