Forums, Documentation & Knowledge Base - ComponentSpace

Can the same value be mapped to two different mapping rule names?


https://componentspace.com/forums/Topic8595.aspx

By Tory001C - 3/12/2018

Is this valid/allowed?

   "MappingRules": [
     {
      "Name": "sub",
      "Rule": "Rename",
      "Value": "ourIdAttribute"   //  <-------------------------------------
     },
     {
      "Name": "name",
      "Rule": "Rename",
      "Value": "ourIdAttribute"  //  <-------------------------------------
     },

...
By ComponentSpace - 3/12/2018

I'm afraid not. The rename rule will remove the ourIdAttribute. Therefore the second rule won't apply.
Perhaps we should include a "Copy" rule.
If that would help, please contact us by email to arrange a beta.