Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > automatic links View modes: 
User avatar
Member
Member
pavel.1991-tut - 4/8/2013 10:13:49 AM
   
automatic links
There are two folders. There content pages must be the same. I used a link mechanism, but if new page are created in one folder, I have to link this new page to another folder. How can I do that if new page are created in one folder, link on this page automaticly appear in another folder?

User avatar
Certified Developer 8
Certified Developer 8
Petr Dvorak - 4/9/2013 1:33:18 PM
   
RE:automatic links
I don't think it is possible to do it out of the box.
Possible idea - attach custom handler to "DocumentEvents.Insert.After" event and create the link manually with API.

Events - http://devnet.kentico.com/docs/7_0/devguide/index.html?event_handlers_overview.htm

Creating linked document - http://devnet.kentico.com/docs/7_0/devguide/index.html?workflow_basics_api_examples_creating_documents.htm (last example)