Copied to clipboard

Flag this post as spam?

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


  • Mus'ab 157 posts 385 karma points notactivated
    Jul 28, 2019 @ 09:12
    Mus'ab
    0

    content picker

    Hi every body is there any way to set a start node to content picker in umbraco 8 ?!

  • Erik-Jan Westendorp 29 posts 295 karma points MVP 4x c-trib
    Jul 29, 2019 @ 06:36
    Erik-Jan Westendorp
    100

    Hi Mus'ab,

    Yes of course.. Navigate tot the content picker where you want to set a start node.

    Go to Settings --> Data Types and set the start node you want.

    enter image description here

  • Mus'ab 157 posts 385 karma points notactivated
    Jul 29, 2019 @ 10:51
    Mus'ab
    0

    Thank you very much Erik-Jan Westendorp

    but isn't that will set the start node for all contents picker ?

  • Erik-Jan Westendorp 29 posts 295 karma points MVP 4x c-trib
    Jul 29, 2019 @ 14:11
    Erik-Jan Westendorp
    0

    Hi Mus'ab

    Yes all document types / properties that use that content picker will have the same start node. If you want to have different start nodes you have to create a new Data Type.

    Go to Settings --> Data Types and create a new one with an different start node. See images below.

    enter image description here

    enter image description here

    enter image description here

  • Mus'ab 157 posts 385 karma points notactivated
    Jul 31, 2019 @ 10:51
    Mus'ab
    0

    Thank You Erik-Jan Westendorp That was so helpful

  • Mus'ab 157 posts 385 karma points notactivated
    Aug 22, 2019 @ 12:50
    Mus'ab
    0

    Hello Erik-Jan Westendorp

    i want to ask another question how i can set the document types that you can pick with a content picker i can do that with a MNTP with allow elements of type but i cant do it with a content picker so do you have a solution ?

  • Erik-Jan Westendorp 29 posts 295 karma points MVP 4x c-trib
    Aug 22, 2019 @ 13:20
    Erik-Jan Westendorp
    0

    Hi Mus'ab,

    No you can't do that with a content picker indeed. What you have to do if you want to achieve the same result is creating a new MNTP and add the doc types you want and set the maximum number of items to one. See image below. In code it's is an IEnumerable of IPublishedContent but since you have set the maximum to one you can use .First or .FirstOrDefault enter image description here

  • Mus'ab 157 posts 385 karma points notactivated
    Aug 22, 2019 @ 13:48
    Mus'ab
    0

    aha i do that already but i was not certain if it is the best breasting for it thanks a lot

Please Sign in or register to post replies

Write your reply to:

Draft