XperienceCommunity.Bynder 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package XperienceCommunity.Bynder --version 1.0.0                
NuGet\Install-Package XperienceCommunity.Bynder -Version 1.0.0                
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="XperienceCommunity.Bynder" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XperienceCommunity.Bynder --version 1.0.0                
#r "nuget: XperienceCommunity.Bynder, 1.0.0"                
#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.
// Install XperienceCommunity.Bynder as a Cake Addin
#addin nuget:?package=XperienceCommunity.Bynder&version=1.0.0

// Install XperienceCommunity.Bynder as a Cake Tool
#tool nuget:?package=XperienceCommunity.Bynder&version=1.0.0                

XperienceCommunity.Bynder

CI: Build and Test

Description

This plugin enhances Xperience by Kentico with a form control that allows users to select assets from the DAM Bynder.

Screenshots

Bynder assets

XbK Bynder selector items preview

Library Version Matrix

Xperience Version Library Version
>= 29.2.0 1.0.0

Dependencies

Package Installation

Add the package to your application using the .NET CLI

dotnet add package XperienceCommunity.Bynder

Quick Start

Widget properties

C# data type: IEnumerable<BynderAsset>
Form component attribute: BynderSelectorComponent

Attribute configuration properties:

  • MinimumAssets - sets the minimum number of selected assets, default value is 0
  • MaximumAssets - sets the maximum number of selected assets, default value is 0 (unlimited)
  • AssetTypes - Allows to limit allowed asset types, see the AssetTypeConsts

Example:

    public class BynderImageWidgetProperties : IWidgetProperties
    {
        [BynderSelectorComponent(AllowedTypes = new[] { AssetTypeConsts.Image }, MinimumAssets = 1, MaximumAssets = 3)]
        public IEnumerable<BynderAsset> BynderImage { get; set; }
    }

Content type fields

Data type: bynderassets
Form component: Bynder selector form component

Form component configuration:

  • MinimumAssets - sets the minimum number of selected assets, default value is 0
  • MaximumAssets - sets the maximum number of selected assets, default value is 0 (unlimited)
  • AssetType - Allows to limit allowed asset types, supports single select only

XbK Bynder selector for content type

Full Instructions

C# data model

    public class BynderAsset
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string Url { get; set; }
        public string[] Extensions { get; set; }
        public string[] Tags { get; set; }
        public string DatabaseId { get; set; }
        public string Type { get; set; }
        public BynderAssetFiles Files { get; set; }
    }

    public class BynderAssetFiles
    {
        public BynderAssetFile Original { get; set; }
        public BynderAssetFile Thumbnail { get; set; }
        public BynderAssetFile Mini { get; set; }
        public BynderAssetFile WebImage { get; set; }
    }

    public class BynderAssetFile
    {
        public string Url { get; set; }
        public int? Width { get; set; }
        public int? Height { get; set; }
        public int? FileSize { get; set; }
    }

AssetTypeConsts

This static class contains constants with all possible values for limiting allowed asset types.

    public static class AssetTypeConsts
    {
        public const string Image = "IMAGE";
        public const string Document = "DOCUMENT";
        public const string Video = "VIDEO";
        public const string Audio = "AUDIO";
    }

See more info on Bynder Docs

DancingGoat widget example

See the Bynder image widget implemented in the DancingGoat site BynderImageWidget

Contributing

Feel free to submit issues or pull requests to the repository.

License

Distributed under the MIT License. See LICENSE.md for more information.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.1.2 98 10/17/2024
1.1.1 77 10/17/2024
1.1.0 58 10/17/2024
1.0.0 137 7/19/2024