AFAutoPopulateProperties 7.3.0
dotnet add package AFAutoPopulateProperties --version 7.3.0
NuGet\Install-Package AFAutoPopulateProperties -Version 7.3.0
<PackageReference Include="AFAutoPopulateProperties" Version="7.3.0" />
paket add AFAutoPopulateProperties --version 7.3.0
#r "nuget: AFAutoPopulateProperties, 7.3.0"
// Install AFAutoPopulateProperties as a Cake Addin #addin nuget:?package=AFAutoPopulateProperties&version=7.3.0 // Install AFAutoPopulateProperties as a Cake Tool #tool nuget:?package=AFAutoPopulateProperties&version=7.3.0
This is an Umbraco extension that allow developers to configure which document type and/or media type properties must be auto-populate on creation and on saving actions.
For each document and/or media types, the developers must specify wich properties must be auto populate and how.
The default configuration file ("AF-AutoPopulateProperties.config.json") is stored in the config folder, it contains a basic configuration that is already working.
JSON structure:
- Property "section": "content" or "media"
- Property "action": "created" or "saving"
- Property "doctypeAlias": if the value is empty the action will be applied to all doctypes otherwise the action will be applied only to the specified doctype
- Property "propertyAlias": Property to auto populate
- Property "propertyType": Property type (actually the value accepted are only string, datetime or bool)
- Property "propertyAliasToCopyValue": The property from which to copy the value (valid only for "saving" action)
- Property "defaultValue": the default value
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.Mvc (>= 5.2.3)
- Microsoft.AspNet.WebApi.Core (>= 5.2.3)
- Newtonsoft.Json (>= 10.0.0.3)
- System.Net.Http (>= 2.0.0)
- UmbracoCms (>= 7.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Configuration Tool moved in a custom section.
WARNING: This Package override previous version of "AF-AutoPopulateProperties.config.json".
Before install this package, be sure to backup this config file and uninstall all previous versions of the package.