Hi,
I'm trying to add a custom dropdown list (data type) as a macro parameter type. By google-ing I know that I'm supposed to add IsParameterEditor = true to the manifest file.
Where can I find that manifest file (or where else am i supposed to add this code) for the data type I just created.
Not sure what you have found in your Google search but you should be able to find most of the answers to your questions regarding property editors for Umbraco 7 in the angularjs workbook here https://github.com/umbraco/AngularWorkbook
The manifest for your property editor is found in the /App_Plugins/TheNameOfYourPropertyEditor/package.manifest - Where the "TheNameforYourPropertyEditor" of course should be the name of your property editor.
However if it's one of the already existing datatypes in Umbraco that you want to enable as a macro parameter I think you need to make your own instance of the property editor since it's otherwise not possible out of the box. Then you'll have to look into the source code of Umbraco and roll your own version.
Dropdown list as a Macro Parameter
Hi, I'm trying to add a custom dropdown list (data type) as a macro parameter type. By google-ing I know that I'm supposed to add IsParameterEditor = true to the manifest file. Where can I find that manifest file (or where else am i supposed to add this code) for the data type I just created.
mvh
Hi Gísli
Not sure what you have found in your Google search but you should be able to find most of the answers to your questions regarding property editors for Umbraco 7 in the angularjs workbook here https://github.com/umbraco/AngularWorkbook
Perhaps the example you have found in your search is the same as shown here https://github.com/umbraco/AngularWorkbook/blob/master/Exercises/Exercise10.md - But by reading the entire book you'll get the whole tour :)
The manifest for your property editor is found in the /App_Plugins/TheNameOfYourPropertyEditor/package.manifest - Where the "TheNameforYourPropertyEditor" of course should be the name of your property editor.
However if it's one of the already existing datatypes in Umbraco that you want to enable as a macro parameter I think you need to make your own instance of the property editor since it's otherwise not possible out of the box. Then you'll have to look into the source code of Umbraco and roll your own version.
Hope this helps a bit.
/Jan
is working on a reply...