kentico_zdenekc
-
11/11/2008 6:14:50 AM
RE:Relationships...
Hi,
First, I'd like to mention the difference in storing product in KenticoCMS. The products, which E-commerce module works with, are in COM_SKU and related tables, but the product presentation pages are DocumentTypes such as News, etc., and are linked to the SKUs. So it could be possible to have relationships only with the product documents.
In your KenticoCMS installation, there is "Kentico CMS API reference" CHM file. It is also available at
http://devnet.kentico.com/downloads/kenticocms_api.zip
There you could find RelationshipProvider Class, and using the methods from that class, you should be able to programmatically add relationships between your documents. You could find some examples on using other providers to work with documents at
http://devnet.kentico.com/docs/devguide/content_management_internals.htm,
and following articles.
If you won't find that documentation helpful, please let us know if you need more information, and provide us with more details in that case.
Best Regards, Zdenek Cetkovsky
|