Conigma Connect
Link Button
Discriminator: linkButton
Fluent UI Blazor Component: FluentButton
Description
The LinkButton component renders a button that navigates to a URL when clicked. The URL can include dynamic placeholders resolved from bound component data, and optional query string parameters extracted via JSON Path. It supports opening links in a new tab or the current tab.
Properties
Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
| ✅ Yes |
| Type discriminator |
|
| No |
| Inline CSS style |
|
| No |
| Component identifier |
|
| No |
| Button label text |
|
| No |
| URL template with optional |
|
| No |
| JSON Path expression to extract an object from combined data, whose properties are appended as query string parameters |
|
| No |
| Whether the link opens in a new browser tab |
|
| No |
| Static JSON data merged into the combined data object |
|
| No |
| Data bindings to collect data from other components (see below) |
|
| No |
| Component IDs to validate before navigating |
ButtonDataBinding
Defines how data is collected from another component and merged into the combined data.
Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
| ✅ Yes | — | ID of the source component to read data from |
|
| No |
| JSON Path to extract a specific value from the source component's data |
|
| No |
| JSON Path specifying where to place the value in the combined data. When |
URL Template Placeholders
The linkTemplate supports {placeholder} tokens that are resolved at click time from the combined data:
Simple property:
{propertyName}— Looks uppropertyNamein the combined data.JSON Path:
{$.path.to.value}— Evaluates a JSON Path expression against the combined data.
Placeholder values are URL-encoded automatically.
Example
Given combined data { "orderId": "12345", "type": "invoice" } and template:
Rendering...
The resolved URL would be:
Query String Parameters
When queryPath is set, the JSON Path is evaluated against the combined data. If the result is a JSON object, its properties are appended to the URL as query string parameters.
Example
Given combined data { "filters": { "status": "active", "page": 1 } } and queryPath: "$.filters", the query string ?status=active&page=1 is appended to the URL.
Validation
Before navigating, the button validates all components listed in validatesComponents. If any validation errors are found, a warning toast is shown and navigation is cancelled.
JSON Example
Simple Link
Rendering...
Link with Data Binding and Placeholders
Rendering...