Copied to clipboard

Flag this post as spam?

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


  • Ben McKean 255 posts 499 karma points
    Jun 29, 2016 @ 20:07
    Ben McKean
    0

    nuPicker empty until after publish

    I've created a nupicker checkbox list (DotNet CheckBox Picker) the values for it are populated but only after a page is published.

    When I create a page the check box list is empty.

    Thanks

    Ben

  • Hendy Racher 859 posts 3822 karma points MVP admin c-trib
    Jun 30, 2016 @ 10:13
    Hendy Racher
    0

    Hi Ben,

    How are you populating the data - is it based on the current node ? (as that won't be available until it's been published)

    Hendy

  • Ben McKean 255 posts 499 karma points
    Jun 30, 2016 @ 11:06
    Ben McKean
    0

    I have a parent node which has an archetype field where users can add categories.

    Then on child nodes there is a DotNet CheckBox Picker that gets the categories from the parent, it does this with a method that gets the parent method from the current page's ID. Is it because the page isn't published and therefore doesn't have an ID yet?

    Is there anyway to get the ID of a non published page so I can work out its parent?

Please Sign in or register to post replies

Write your reply to:

Draft