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 272 posts 549 karma points
    Jun 29, 2016 @ 20:07
    Ben McKean

    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.



  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Jun 30, 2016 @ 10:13
    Hendy Racher

    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)


  • Ben McKean 272 posts 549 karma points
    Jun 30, 2016 @ 11:06
    Ben McKean

    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: