API Questions on Kentico API.
Version 6.x > API > Create a new product by Code. View modes: 
User avatar
Member
Member
S2-yahoo - 10/17/2011 4:29:27 AM
   
Create a new product by Code.
Hi there,
i need to create a new product using by SKUInfo class and New document using by Documentinfo class but i cant' make a link between them. i've already known how to create all that by code but excepted the link between them using by Code C#.
so how can link them or how can assign the product to the document?

User avatar
Member
Member
kentico_michal - 10/17/2011 8:35:18 AM
   
RE:Create a new product by Code.
Hello,

The TreeNode class contains a property called NodeSKUID that needs to be set to a product's SKUID.

Best regards,
Michal Legen