Copied to clipboard

Flag this post as spam?

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


  • yogesh pathak 136 posts 221 karma points
    May 06, 2016 @ 09:56
    yogesh pathak
    0

    Access permission for data types

    Hi all, i was setting up permission for different users on different language nodes, so that only content editors can make changes to their localized site only. but i have a got a situation here- i am using content picker datatype which is configured to pick content from any node under "Content" section so this content picker can pick content from A node while being used on B node regardless of access permissions

    so should i go with this flow? or is it a bug which will be fixed in next versions of umbraco? because if i will configure my CMS this way right now it will break once it gets updated.

    Second thing can i configure my content picker to pick inside two nodes those are not parallel to each other ? right now its lets me set up only one node to pick as start node

    Thanks in advance

    Yogesh

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    May 07, 2016 @ 18:33
    Dennis Aaen
    100

    Hi yogesh,

    It should to me that you should try to have a look at the Multinode Treepicker, with this picker you can configure it to pick inside a specific site, or specific document types.

    With the Multinode Treepicker you also have the possibility to set a minium and a maximum of nodes that should be picked. Try to have a look at the documentation.

    https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/multinode-treepicker

    Hope this helps to archive what you need.

    /Dennis

  • yogesh pathak 136 posts 221 karma points
    May 09, 2016 @ 09:01
    yogesh pathak
    0

    Hi Dennis, that really helped , thanks a ton! do we have any detailed documentation on x path queries in Umbraco site?

    Thanks

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    May 09, 2016 @ 09:15
    Dennis Aaen
    0

    Hi yogesh,

    I have found some old documentation about xPath for XSLT and so. Even it´s a bit old I hope this can give you an overview.

    https://our.umbraco.org/wiki/reference/xslt/xpath-axes-and-their-shortcuts/

    https://our.umbraco.org/wiki/reference/xslt/using-xpath/xpath-examples/

    Also if you see the documentation for https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/multinode-treepicker then you have

    //get the first textpage below the current document
    $current/textpage: current page or closest found ancestor
    
    //get a descendant of type news article somewhere below the parent
    $parent//newsArticle: parent page or closest found ancestor
    
    //go to the root the content tree
    $root
    
    //go the ancestor at @level=1 where your website root usually is.
    $site: Ancestor node at level 1 
    

    Hope this helps,

    /Dennis

  • 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