Setting PDFUrl and ModelCodeDesc in code
From the Sitefinity admin edit product screen there is a PDFUrl and ModelCodeDesc field that can be set.
These get stored along in the table created when a Product Type is added.
I'm making a custom control for product import.
Is it possible to have a PDF Url for each product? How do I populate these fields in code?
Hi Michael,
I am not sure from your post if you have created PDFUrl and ModelCodeDesc fields as these are not apart of Sitefinity Ecommerce. However you can create custom product type fields, which will allow you to save the PDF URL and a PDF description. Using the API, you can reference these new fields in your control.
I have written a blog on importing products into Sitefinity which you can read and download the project from http://www.sitefinity.com/blogs/stevemiller/posts/12-05-10/sitefinity_ecommerce_ndash_importing_products_into_sitefinity_ecommerce.aspx
We will be releasing the source code for this project sometime this week and I will email you once this is released.
All the best,
Steve
the Telerik team
Yes they are custom product type fields. Sorry I overlooked that detail. I already wrote my own custom bulk uploader according to our own rules which is working great. The only thing missing is I'm not sure how to write to the custom fields. I didn't see how to do that anywhere in the examples you posted. Is it just a taxonomy?
I found this in the documentation
www.sitefinity.com/.../setting-the-value-of-a-custom-field
I found the solution if anyone is interested.