Copied to clipboard

Flag this post as spam?

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


  • Ennija 44 posts 126 karma points
    Aug 25, 2015 @ 12:43
    Ennija
    0

    macro parameter

    how to create a new type in macro parametrs. For example CheckBoxPicker or DropDownPicker.

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Aug 25, 2015 @ 15:35
    Robert Foster
    100

    Hi, This may be what you're looking for:

    Macro Parameter Editors

    Edit: Apologies, the above documentation is quite old and probably not really suitable for Umbraco 7. You should instead refer to this:

    Creating a Property Editor

    To make your new Property Editor a Macro Property Editor, simply specify the following flag in the Manifest file:

    isParameterEditor: true

    To find out more, see this document:

    Umbraco 7: Manifest overview

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Aug 26, 2015 @ 07:27
    Robert Foster
    0

    Yes - you can create a new data type and specify that it can be a Macro Parameter type by setting the isParameterEditor: true in the package.manifest file - if you look at the Manifest overview link above, it has an example of this under the sub-heading propertyEditors.

  • Ennija 44 posts 126 karma points
    Aug 26, 2015 @ 07:40
    Ennija
    0

    thanks it helped

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Aug 26, 2015 @ 07:48
    Robert Foster
    0

    Good to hear - let us know if you get stuck on anything else :)

    Rob.

Please Sign in or register to post replies

Write your reply to:

Draft