cancel
Showing results for 
Search instead for 
Did you mean: 

Default Value for an Attribute in a Taxonomy

0 Kudos

Hi Friends,

Version: MDM 5.5, SP06, PL04 (Oracle 10.2.0.2, HP-UX)

Is it possible to have default values assigned to the attributes for a Taxonomy Node.

Scenario:

1. New created Material is assigned a Category in the Taxonomy Hierarchy.

2. The 5 Attributes that belong to this Taxonomy Node are assigned to the Material.

Requirement:

The 5 attributes should have a default value assigned initially before the user in the Data Manager can assign them actual values.

Also during syndication of the Taxonomy we have an XSD and if an attribute does not have a value it does not show in the xml file. Is there a manner i could force attributes also to show in the syndicated XML file (Name, Value Pair) even if now value exists.

Thanks,

SA

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Since there is no way to select Assignment Field as Attribute we can not run assignments on Attribute.

So, its not possible to populate default value because MDM does not support Attributes assignment.

Moreover, its not good to have inaccurate data as default attributes if it is not assigned actually.

Ideally, when a material record of main table is associated with category, at this point of time only the attributes linked to category should be populated with correct Attribute values not at later point of time.

I think Yes, you can show the Attribute node in the syndicated XML file even if no value exists by changing your XML Schema.

You have to set this Attribute as Required using min-occurs as 1 and max-occurs as unbounded/as per your requirement)

This will set this property as required which you can also see using MDM Syndicator Destination Properties Tab.

If this field item property is required then you will see value check box as tick under Destination Properties Tab .

It will result in always node generation if there is no value for that attribute as shown below in your XML file.

<Attribute/>

You can also make use of Default value property under Destination Items Tab as some-value.

If no value comes then it will assign this default value and you will always have node generated.

Thanks and Regards,

Mandeep Saini

Answers (0)