I would like to create Variant Properties in Commerce Server 2007 such that
the name of the property can be changed by the user without affecting the
property itself. In the Catalog Schema Manager.
I notice that I can create a property and assign a displayName which is
then
displayed when I attempt to add that property to any product definition.
But
from code, when I select the Variant Properties from the
CatalogDefinition.DefinitionProperties datatable, there is NO displayname
column, and I can't find it anywhere in that collection. to me this is
invaluable. Is this not sup****ted from the API?
The scenario is this. I have 2 products where the variant Property on
both
is SIZE. But the users will control the variants on each product
individually, so I was going to have a ProductA_Size and ProductB_Size
propertynames, dynamically added to their individual definitions, but both
with DisplayNames of "Size" so that the user interface is clean.
Furthermore, since the properties are enumerations, our UI is supposed to
give the user the ability to add/remove values to these properties, which
is
another reason why we can't just have one global SIZE property.
Please can someone tell me whether what I want to do is unsup****ted and if
so, how can I achieve the effect I describe above ??
Thanks,
Dave


|