Umbraco.Community.SimpleTrees
15.1.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Umbraco.Community.SimpleTrees --version 15.1.2
NuGet\Install-Package Umbraco.Community.SimpleTrees -Version 15.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Umbraco.Community.SimpleTrees" Version="15.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Umbraco.Community.SimpleTrees" Version="15.1.2" />
<PackageReference Include="Umbraco.Community.SimpleTrees" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Umbraco.Community.SimpleTrees --version 15.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Umbraco.Community.SimpleTrees, 15.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Umbraco.Community.SimpleTrees@15.1.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Umbraco.Community.SimpleTrees&version=15.1.2
#tool nuget:?package=Umbraco.Community.SimpleTrees&version=15.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Umbraco.Community.SimpleTrees
This packages aims to help developers quickly put together Umbraco Trees using C#.
Features
- C# custom tree creation
- No javascript or umbraco-package.json files required
- Supports both Views & View Components
- Easy to define section permissions
- ✨ Custom Entity Actions!
Quick Start
Install Package
dotnet add package Umbraco.Community.SimpleTrees
Register Tree
By default, this will display in the content section.
using Umbraco.Cms.Core.Models;
using Umbraco.Community.SimpleTrees.Core.Models;
namespace Umbraco.Community.SimpleTrees.TestSite.Trees;
public class MyTree : SimpleTree
{
public override Task<PagedModel<ISimpleTreeItem>> GetTreeRootAsync(int skip, int take, bool foldersOnly)
{
var data = new List<ISimpleTreeItem>
{
CreateRootItem("James", Guid.NewGuid().ToString(), "icon-user"),
CreateRootItem("Tim", Guid.NewGuid().ToString(), "icon-user"),
};
return Task.FromResult(new PagedModel<ISimpleTreeItem>(data.Count, data));
}
public override Task<PagedModel<ISimpleTreeItem>> GetTreeChildrenAsync(string entityType, string parentUnique, int skip, int take, bool foldersOnly) => Task.FromResult(EmptyResult());
public override string Name => "My Tree";
}
Create Views
- Your views must go in
/Views/Trees - You views must be the name of your tree entities
- For example:
MyTree.cs⇒/Views/Trees/MyItem.cshtml&/Views/Trees/MyRoot.cshtml
- For example:
@inherits Umbraco.Community.SimpleTrees.Web.SimpleTreeViewPage
<uui-box headline="This is a custom tree item">
<div>
<table>
<thead>
<tr>
<th>Entity Type</th>
<th>Unique</th>
</tr>
</thead>
<tbody>
<tr>
<td>@Model.EntityType</td>
<td>@Model.Unique</td>
</tr>
</table>
</div>
</uui-box>
Contributing
Contributions to this package are most welcome! Please visit the Contributing page.
Acknowledgements (Thanks)
- LottePitcher - opinionated-package-starter
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- jcdcdev.Umbraco.Core (>= 15.4.0 && < 16.0.0)
- Umbraco.Cms.Api.Common (>= 15.0.0 && < 16.0.0)
- Umbraco.Cms.Api.Management (>= 15.0.0 && < 16.0.0)
- Umbraco.Cms.Web.Website (>= 15.0.0 && < 16.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 17.2.0 | 76 | 3/20/2026 |
| 17.2.0-alpha.1 | 37 | 3/19/2026 |
| 17.1.1 | 76 | 3/18/2026 |
| 17.1.1-alpha.15 | 37 | 3/17/2026 |
| 17.1.1-alpha.9 | 64 | 2/1/2026 |
| 17.1.1-alpha.7 | 52 | 2/1/2026 |
| 17.1.0 | 101 | 1/28/2026 |
| 17.1.0-alpha.2 | 51 | 1/28/2026 |
| 17.0.1 | 118 | 12/26/2025 |
| 17.0.1-alpha.3 | 146 | 12/22/2025 |
| 16.1.7 | 73 | 3/18/2026 |
| 16.1.6 | 90 | 2/16/2026 |
| 16.1.5 | 90 | 1/28/2026 |
| 16.1.5-alpha0036 | 92 | 1/28/2026 |
| 16.1.5-alpha0016 | 94 | 1/26/2026 |
| 16.1.5-alpha0014 | 88 | 1/26/2026 |
| 16.1.4 | 102 | 12/26/2025 |
| 16.1.4-alpha0003 | 117 | 12/26/2025 |
| 16.1.3 | 192 | 12/21/2025 |
| 15.1.2 | 219 | 10/29/2025 |
Loading failed