Umbraco 16 Property Actions - tips for implementation?

To all the package developers out there - how are you implementing PropertyActions in your packages? Currently the only documentation on this is the Umbraco source code, and it’s not clear…

Here’s what I’ve found so far:

  • Manifest: Register a Property Action in the manifests with the type ‘propertyAction’ - this needs to be linked to the propertyEditor, and also, somehow a class to implement the action

	{
		type: 'propertyAction',
		kind: 'copyToClipboard',
		alias: 'Umb.PropertyAction.BlockGrid.Clipboard.Copy',
		name: 'Block Grid Copy To Clipboard Property Action',
		forPropertyEditorUis,
		conditions: [
			{
				alias: UMB_PROPERTY_HAS_VALUE_CONDITION_ALIAS,
			},
		],
	}
  • UmbPropertyActionBase: A class needs to inherit from this to implement the property action, however, it’s not clear as to how it’s linked to the propertyEditor, presumably via the Manifest?

That’s as far as I’ve gotten so far, any pointers, greatly appreciated :slight_smile: