Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Dynamic Path to document View modes: 
User avatar
Member
Member
arnold-WebProductive.co - 11/18/2009 6:34:13 AM
   
Dynamic Path to document
Hi All,

I am new to Kentico - So far I am very impressed with the Portal site and its capabilities. :)

One thing that I am having difficulty with is being able to create a dynamic path to a document.

I have an event that has a list of artist (Custom type) as a child document type.

I then have a repeater and I am trying to set the Path to look for the artist to:

/Events/{%EventName%}/% to in essence get me all of the child documents (artists).

However I can seem to dynamically create the "EventName" part...

Any Ideas?

Many thanks in advance

User avatar
Member
Member
arnold-WebProductive.co - 11/18/2009 6:20:52 PM
   
RE:Dynamic Path to document
Found it.

Fairly easy for anyone else that has this problem in the future:

/{%currentpageinfo.nodealiaspath%}/%

That gives you all the children of the current page that you are viewing. You can then set a filter on which document type to return (If you have multiple child document types)

Hope this helps