New features Please use http://kentico.uservoice.com as the primary place to submit your suggestions and allow others to vote for your ideas!
Version 7.x > New features > Link Muliple Documents at Once View modes: 
User avatar
Member
Member
james.grimes-chickasaw - 8/15/2013 9:24:33 AM
   
Link Muliple Documents at Once
Is there a way to link multiple forms to a page at once in version 7. I have several services that require multiple related documents and it would be nice to be able to link them all at once. Thanks.

User avatar
Kentico Support
Kentico Support
kentico_filipl - 8/16/2013 2:05:17 AM
   
RE:Link Muliple Documents at Once
Hello James,

Could you just clarify if you are looking for creating multiple linked documents or multiple related documents at once? There is a difference between those two.

Developer's Guide - Linked docs, Related docs

Best regards,
Filip Ligac

User avatar
Member
Member
james.grimes-chickasaw - 8/16/2013 4:29:46 PM
   
RE:Link Muliple Documents at Once
I would like a way to create multiple related documents at the same time. Example: I need to add several locations (which are in different documents) to one service document. I want to know if there is a way to relate these documents all in one step or if I have to add each one individually.

User avatar
Kentico Support
Kentico Support
kentico_filipl - 8/16/2013 10:56:00 PM
   
RE:Link Muliple Documents at Once
Hello James,

It is possible but you need to use API for that.

The main action is done using AddRelationship(int leftNodeId, int rightNodeId, int relationshipNameId) method from RelationshipProvider class.

Detailed sample code examples can be found in Developer's Guide - Managing relationships.

A complete list of all API methods is in API Reference.

Best regards,
Filip Ligac