on 03-12-2019 1:08 PM
I have a field mapped in MDM Syndicator. But at the time of syndication the field is not generated in XML. (For your information no data has been sent to that field) Can anyone explain the reason and is there any provision to change the configuration so the fields are coming in XML even though there will be no data.
Hello Nilanjan Samanta,
what you want to manage is not within the Syndicator GUI (as a clickable option) but in the xsd Schema file for this import map. The Schema file controls most aspects of the resulting XML. Appearance included. You need to navigate to the Schema definition of your node 'code':
<xsd:element name="code"/> code is obligatory and it appears exactly once.
<xsd:element name="code" minOccurs="0"/> code can be omitted but does not repeat.
<xsd:element name="code" maxOccurs="unbounded"/> code can't be omitted and can repeat.
<xsd:element name="code" minOccurs="0" maxOccurs="unbounded"/> code can be omitted and can repeat.
The attributes 'minOccurs' and 'maxOccurs' do the trick.
Afterwards load the updated Schema file and check your outcome here:
Navigate to 'Destination Items' and to your node 'code'. You see, that the opions 'Required' and 'Repeatable XML Node' are not editable. These result from the 'minOccurs' and 'maxOccurs' attributes in the Schema file. If 'Required' is checked, Syndicator is not allowed to omit this Node. If Syndicator still does, it's a bug and beyond my possibilities.
Best regards,
Manfred
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nilanjan,
For further investigation could you please tell me the exact MDM Syndicator version you are using?
Thank you
Best regards,
Istvan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.