Skip to content

Commit 28d1c62

Browse files
authored
Merge pull request #6854 from umbraco/ui-builder
Updated articles
2 parents 3c83c36 + 9a4ad1f commit 28d1c62

33 files changed

+214
-121
lines changed

15/umbraco-ui-builder/.gitbook.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ getting-started/upgrading/version-specific-upgrades: upgrading/version-specific.
1010
getting-started/installation: installation/installation.md
1111
getting-started/licensing-model: installation/licensing-model.md
1212
guides/migrating-from-konstrukt-to-umbraco-ui-builder: upgrading/migrating-from-konstrukt-to-umbraco-ui-builder.md
13+
getting-started/overview: getting-started/requirements.md
14+
installation/installation: getting-started/installation.md
15+
installation/licensing-model: getting-started/licensing-model.md

15/umbraco-ui-builder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ With Umbraco UI Builder, custom backoffice integrations can now take a matter of
1616

1717
**This documentation is aimed at developers** who have at least a basic understanding of Umbraco, as well as C#/MVC principles.
1818

19-
If you are new to Umbraco UI Builder, it is recommended that you start by taking a look at the [Getting Started](getting-started/overview.md) section. This provides details on the system requirements and how to install Umbraco UI Builder.
19+
If you are new to Umbraco UI Builder, it is recommended that you start by taking a look at the [Getting Started](getting-started/requirements.md) section. This provides details on the system requirements and how to install Umbraco UI Builder.
2020

2121
Once you have Umbraco UI Builder installed and are wondering "What next?" then you'll want to take a look at the [Guides](guides/creating-your-first-integration.md) section. This provides a quick-start example of how to configure Umbraco UI Builder.
2222

15/umbraco-ui-builder/SUMMARY.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,23 @@
44
* [Known Issues](known-issues.md)
55
* [Release Notes](release-notes.md)
66

7-
## Installation
7+
## Getting Started
88

9-
* [Installing Umbraco UI Builder](installation/installation.md)
10-
* [Licensing](installation/licensing-model.md)
9+
* [Requirements](getting-started/requirements.md)
10+
* [Installing Umbraco UI Builder](getting-started/installation.md)
11+
* [Licensing](getting-started/licensing-model.md)
12+
* [Configuration](getting-started/configuration.md)
13+
* [User Interface](getting-started/user-interface.md)
1114

1215
## Upgrading
1316

1417
* [Upgrading Umbraco UI Builder](upgrading/upgrade.md)
1518
* [Version Specific Upgrade Notes](upgrading/version-specific.md)
1619
* [Migrate from Konstrukt to Umbraco UI Builder](upgrading/migrating-from-konstrukt-to-umbraco-ui-builder.md)
1720

18-
## Getting Started
19-
20-
* [Overview](getting-started/overview.md)
21-
* [Configuration](getting-started/configuration.md)
22-
* [User Interface](getting-started/user-interface.md)
23-
2421
## How-to Guides
2522

26-
* [Creating your first integration](guides/creating-your-first-integration.md)
23+
* [Creating your First Integration](guides/creating-your-first-integration.md)
2724

2825
## Areas
2926

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
11
---
2-
description: Configuring Umbraco UI Builder, the backoffice UI builder for Umbraco.
2+
description: Learn how to configure Umbraco UI Builder using the extension method.
33
---
44

55
# Configuration
66

7-
Umbraco UI Builder can be configured directly via the `AddUIBuilder` extension method on `IUmbracoBuilder`.
7+
You can configure Umbraco UI Builder using the `AddUIBuilder` extension method in `Program.cs`.
88

9-
## AddUIBuilder
9+
## Using `AddUIBuilder`
1010

11-
To configure Umbraco UI Builder via the `AddUIBuilder` extension method, You can look in the `Program.cs` file in the root of your web project. From within this file, before the call to `AddComposers()` we can add our `AddUIBuilder` configuration.
11+
To configure Umbraco UI Builder:
12+
13+
1. Open the `Program.cs` file in your project.
14+
2. Locate the `CreateUmbracoBuilder()` method.
15+
3. Add `AddUIBuilder` before `AddComposers()`.
1216

1317
```csharp
1418
builder.CreateUmbracoBuilder()
1519
.AddBackOffice()
1620
.AddWebsite()
1721
.AddUIBuilder(cfg => {
18-
// Apply your configuration here
22+
// Apply your configuration here
1923
})
2024
.AddDeliveryApi()
2125
.AddComposers()
2226
.Build();
2327
```
2428

25-
The `AddUIBuilder` extension method accepts a single parameter, a delegate function with one of the Umbraco UI Builder configuration builder arguments. With this, you can then call the relevant fluent APIs to define your solution.
29+
{% hint style="info" %}
30+
If you want an example configuration, see the **Configure Umbraco UI Builder** section in the [Creating your First Integration](../guides/creating-your-first-integration.md) article.
31+
{% endhint %}
32+
33+
The `AddUIBuilder` method accepts a delegate function, allowing you to configure your solution using fluent APIs.
67.7 KB
Loading
86.5 KB
Loading
90.6 KB
Loading
67 KB
Loading
72.5 KB
Loading
68.6 KB
Loading

0 commit comments

Comments
 (0)