1 vote

AF - Auto Populate Properties

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

 

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

 

TESTED WITH: Umbraco v7.7.13 - v7.8.3 - v7.9.6 - v7.10.4 - v7.11.1 - v7.12.2

 

Latest Changes
=============

  • v7.3.0.0 - Configuration Tool moved in a custom section
  • v7.2.0.0 - Added custom treenode in Developer Section with a smart GUI to create/update the configuration file
  • v7.1.0.0 - Added doctype support
  • v7.0.0.0 - First release 

 

Version History
=============

  • v7.3.0.0 - For Umbraco v7.6+
 Download package
version 7.3.0.0

NuGet install instructions for Umbraco 7.7.0-7.12.0

Install-Package https://www.nuget.org/packages/AFAutoPopulateProperties/

Package owner

Adriano Fabri

Adriano Fabri

Adriano has 1280 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

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Adriano Fabri
  • Created: 08/09/2017
  • Current version 7.3.0.0
  • .NET version 4.6.1
  • License MIT
  • Downloads on Our: 573

External resources