Data Manager customization: getQuickAddRecordFormName

Data Manager customization: getQuickAddRecordFormName

Info

This customization was added in Preside 10.13.0

The getQuickAddRecordFormName customization allows you to use a different form name than the Data Manager default for "quick adding" records. The method should return the form name (see Forms system) and is provided args.objectName should you need to use it. For example:

// /application/handlers/admin/datamanager/blog.cfc

component {

	private string function getQuickAddRecordFormName( event, rc, prc, args={} ) {
		return "admin.blogs.addblog";
	}

}