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+

Package owner

Adriano Fabri

Adriano Fabri

Adriano has 1131 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
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Adriano Fabri
  • Created: 08/09/2017
  • Current version 7.3.0.0
  • .net Version 4.6.1
  • License MIT
  • Downloads: 193

External resources