Copied to clipboard

Flag this post as spam?

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


  • Weber 12 posts 36 karma points
    Feb 25, 2014 @ 16:35
    Weber
    0

    How to get MemberPicker on list of macro parameter types?

    Just wondering how to get the member picker on the list of macro parameter types?

    Can't seem to find any() info or documentation on this.

    I have searched the internet for "property editor" but not found the solution.

    Basicly I just want to be able to pick a member when inserting a macro with a partial view, parsing memberID as parameter.

  • Weber 12 posts 36 karma points
    Mar 10, 2014 @ 13:02
    Weber
    0

    0 people know something??

    I could really use an answer, why there is missing some datatypes to use in macro parameter....

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Mar 11, 2014 @ 16:57
    David Brendel
    0

    Think the best way would be tu raise an issue on the Umbraco issue tracker. Seems weird that there is no member picker for macro parameter.

    Workaround would be to use a number type and using the member id for it. But not really the best usabillity.

  • Rasmus Eeg 91 posts 457 karma points c-trib
    Sep 29, 2016 @ 06:28
    Rasmus Eeg
    1

    I know this is an old topic, but here you go:

    Create a folder under App_Plugins, add your package.manifest file and paste the following:

    {
        "propertyEditors": [
        {
          "name": "Member Picker (Clone)",
          "alias": "Our.MemberPicker",
          "editor": {
            "valueType": "STRING",
            "view": "~/umbraco/views/propertyeditors/memberpicker/memberpicker.html"
          },
          "isParameterEditor": true
        }
      ]
    }
    

    I coundn't get it to work, using "parameterEditors", it just throws an error

Please Sign in or register to post replies

Write your reply to:

Draft