Copied to clipboard

Flag this post as spam?

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


  • John Churchley 272 posts 1257 karma points c-trib
    Jun 14, 2016 @ 11:05
    John Churchley
    0

    Registering Prevalue editors for Grid custom Settings and Styling

    Hi,

    I'm attempting to have use a custom prevalue editor for styling with the grid editor.

    https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/Settings-and-styles

    I've created the HTML, Controller JS and manifest file in the path suggested and specified the path as suggested. I'm getting a error suggesting the controller isn't being added. Do you do it differently for prevalue editors?

    Error: Argument 'OS.PrevalueEditors.ImageFilePickerController' is not a function, got undefined

    Thanks

    John

  • John Churchley 272 posts 1257 karma points c-trib
    Jun 14, 2016 @ 11:41
    John Churchley
    100

    The issue was I had my package.manifest file in the same directory as the view which was 2 levels down in the AppPlugins folder. By moving it up the level one below the AppPlugins it worked.

    Hopefully this is useful to someone else!

    I.e. from \AppPlugins\OS.Prevalues\OS.Prevalue.ImagePicker to \AppPlugins\OS.Prevalues

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies