AFAutoPopulateProperties 7.2.0
This is a simple Umbraco extension that allow developers to configure which document type and/or media type properties must be auto-populate on creation and on save 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.
The JSON structure is:
- section param: "content" or "media"
- action param: "created" or "saving"
- doctype alias: 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 alias to auto populate
- property type: actually the value accepted are only string, datetime or bool
- property alias from which copy the value (valid only for "saving" action)
- default value
See the version list below for details.
Install-Package AFAutoPopulateProperties -Version 7.2.0
dotnet add package AFAutoPopulateProperties --version 7.2.0
<PackageReference Include="AFAutoPopulateProperties" Version="7.2.0" />
paket add AFAutoPopulateProperties --version 7.2.0
WARNING: This Package override previous version of "AF-AutoPopulateProperties.config.json". Please be sure to backup it before install this package
TESTED WITH: Umbraco v7.7.13 - v7.8.3 - v7.9.6 - v7.10.4 - v7.11.1 - v7.12.2
WARNING: This Package override previous version of "AF-AutoPopulateProperties.config.json". Please be sure to backup it before install this package
TESTED WITH: Umbraco v7.7.13 - v7.8.3 - v7.9.6 - v7.10.4 - v7.11.1 - v7.12.2
Release Notes
Added custom treenode in Developer Section with a smart GUI to create/update the configuration file
Dependencies
-
- 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)
GitHub Usage
This package is not used by any popular GitHub repositories.