lavinia.elena-yahoo
-
4/1/2010 3:29:33 AM
custom form control
Hello,
I have the following scenario:
I create a new document type named CustomArticle. As fields i want to set Title, Summary, Description and a few image fields (Pic1, Pic2, Pic3...). For each image field, i want to save in the database the ImageNodeGuid. I can achieve this by displaying for each image field in the editing form a field of type "Image Selection". Then, if i set 10 images, i will end up with 10 columns in the CustomArticle table holding GUIDs.
To avoid this, i would like to create a new Form Control that will be used for selecting the related images from the content tree. And i would like to save the related images in a separate table that will have the following columns: ID, ImageNodeGUID, DocumentID
I would very much appreciate if you could give me a suggestion for an elegant way of implementing this. And how can i place a few "Image Selection" controls in a custom form control?
Thank you, Lavinia
|