5 votes

Umbraco Dictionary MetadataProvider

Name based metadata provider using Umbarco dictionary.

Nuget Package:

Install-Package MissingCode.Umbraco.DictionaryMetadataProvider

based on forum solution http://our.umbraco.org/forum/templating/templates-and-document-types/39555-Surface-controller-and-data-annotations

Automaticly name and validation attributes resolving using naming convention.

ModelName(Without Model).PropertyName.AttributeName

2.0.0 Umbraco 8 support

1.0.5.1: Dictionary caching implementation, based on http://issues.umbraco.org/issue/U4-8107

1.0.3: common name lookup added : PropertyName.AttributeName

For example: ContactForm.Email.EmailAddress

Automaticly format for required attibute

  1. Create dictionary RequiredFormat
  2. Set value for each languages: {0} - required, where {0} is display name for property

 

 

 


 

 

 

Screenshots

Package owner

Yakov Lebski

Yakov Lebski

Yakov has 1490 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.6.x (untested)
Version 8.5.x (untested)
Version 8.4.x (untested)
Version 8.3.x (untested)
Version 8.2.x (untested)
Version 8.1.x (untested)
Version 8.0.x (untested)
Version 7.15.x (untested)
Version 7.14.x (untested)
Version 7.13.x (untested)
Version 7.12.x (untested)
Version 7.11.x (untested)
Version 7.10.x (untested)
Version 7.9.x (untested)
Version 7.8.x (untested)
Version 7.7.x (untested)
Version 7.6.x (untested)
Version 7.5.x (untested)
Version 7.4.x (untested)
Version 7.3.x (100%)
Version 7.2.x (100%)
Version 7.1.x (100%)
Version 7.0.x (100%)
Version 6.2.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Yakov Lebski
  • Created: 12/12/2014
  • Current version 2.0.0
  • .NET version 4.5,4.7.2
  • License MIT
  • Downloads on Our: 1343
  • Downloads on NuGet: 4256
  • Total downloads : 5599

External resources