Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gísli Freyr Svavarsson 43 posts 126 karma points
    Dec 30, 2015 @ 15:22
    Gísli Freyr Svavarsson
    0

    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

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 04, 2016 @ 07:52
    Jan Skovgaard
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft