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

 Download package
version 2.0.0

NuGet install instructions for Umbraco 7.3.0-8.18.13

Install-Package MissingCode.Umbraco.DictionaryMetadataProvider

Package owner

Yakov Lebski

Yakov Lebski

Yakov has 2101 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.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions: 7.3.x, 7.2.x, 7.1.x, 7.0.x

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: 1.7K
  • Downloads on NuGet: 10.2K
  • Total downloads : 11.9K

External resources