Copied to clipboard

Flag this post as spam?

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


  • Kin 30 posts 172 karma points
    Dec 11, 2015 @ 19:35
    Kin
    0

    Setting up Virtual paths and pages

    Hello,

    I was wondering if its possible to set up virtual paths & pages in Umbraco that'll follow a certian Document Type (DT)?

    For example:


    Theme is a DT which contains multiple fields, which one is a Multinode Treepicker of Document. A template is associated with it.

    Document is another DT which contains a Title, a .PDF file, and a Description field. No template is associated. A Document can be associated with one or multiple Themes.

    Tree looks like

    • Homepage (Root)
      • Theme 1 (DT Theme)
        • Page 1
        • Page 2
      • Theme 2 (DT Theme)
      • Documents
        • Document 1 (DT Document)
        • Document 2 (DT Document)

    I want a Virtual Page that'll display the Document element when we navigate to /Theme-1/Documents/{id} or /Theme-2/Documents/{id}/


    Let me know if I wasn't clear enough. Thank you in advance!

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 14, 2015 @ 07:47
  • Kin 30 posts 172 karma points
    Dec 15, 2015 @ 20:39
    Kin
    0

    Thank you for your reply Dave. It provided me with a good starting point.

    I managed to make it work using a content finder.

    My solution was mostly based on: http://24days.in/umbraco/2014/urlprovider-and-contentfinder/

  • 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