Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > refresh linked document View modes: 
User avatar
Certified Developer 8
Certified Developer 8
jao - 4/14/2013 3:58:36 AM
   
refresh linked document
Is there a way to 'refresh' or update a linked document so it matches the original document (especially the sub items it might contain) ?

User avatar
Certified Developer 13
Certified Developer 13
kentico_josefd - 4/14/2013 5:00:28 AM
   
RE:refresh linked document
Hello,

I probably don't understand your question correctly. The "Link to existing document" should always be the same as the original document, as it is not designed to hold any content, only to redirect the visitor to the original document. Could you please provide me more information on what trouble do you have? Thank you.

Regards,
Josef Dvorak


User avatar
Certified Developer 8
Certified Developer 8
jao - 4/14/2013 5:03:06 AM
   
RE:refresh linked document
I mean the sub-content, for example when I have images in a folder and create a linked document of the folder and the sub documents.
When I add a new image to the original folder, I'd like to have that file automatically linked to the linked document.

User avatar
Certified Developer 13
Certified Developer 13
kentico_josefd - 4/14/2013 5:52:33 AM
   
RE:refresh linked document
Hi,

I see, unfortunately there is no feature in Kentico which would ensure links for documents under specific tree node are created automatically. However, you can create a custom event handler and check URL of each new created document. Then, when a new document matches the condition, create the link using our API.

Also, you can place a repeater on any document you want, and have it point to the original image folder, using its Path property. This way, you can do without creating the links altogether.

Regards,
Josef Dvorak