{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-user-portal/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown","redocly_category":"User docs","owner":"MB"},"seo":{"title":"Norce User Documentation - Converting parametric types","description":"How to change the type of an existing parametric, what data may be lost, and how common conversions behave.","keywords":"PIM, parametrics, type conversion, change type, data loss"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"converting-a-parametric-type"},"children":["Converting a parametric type"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["It is possible to change the type of an existing parametric — for example from Text to List, or from Decimal to Integer. To convert, open the parametric and go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tools → Change parametric type"]},". You will see the current type and a dropdown to select the new type. A message reminds you to run a preview before converting — the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Convert"]}," button stays disabled until you have done so."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The preview shows how many products can be converted and which ones have values that cannot be converted to the new type. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["The conversion is all-or-nothing:"]}," if any product has a value that cannot be converted, the whole conversion is blocked until those values are fixed or cleared."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-can-be-converted"},"children":["What can be converted"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Any type can be converted to any other type. Whether individual product values survive depends on whether the value can be parsed into the target type. For example, a decimal value of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["12.5"]}," cannot be converted to Integer (fractional parts are not truncated — they block conversion), but ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["12.0"]}," can."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"data-loss-to-be-aware-of"},"children":["Data loss to be aware of"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Some conversions permanently discard data. There is no built-in undo — converting back does not recover what was lost. Always review the preview carefully before confirming."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Conversion"},"children":["Conversion"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What is lost"},"children":["What is lost"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Any type → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Values longer than 255 characters are truncated"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Any type → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Decimal"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Precision beyond 3 decimal places is rounded"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Multiple list"]}," → any"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Only the first selected value per product survives; all additional selections are dropped"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HTML"]}," → Integer, Decimal, Boolean, or Date"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All localized (translated) values are permanently cleared"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["List"]}," → any"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The list's option definitions and their translations are deleted after the conversion"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Multiple list"]}," → any"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same as above — option definitions and translations are deleted"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Any → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["List"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Multiple list"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["New list options are created from the existing values; original codes, sort order, and any images on the old options are not carried over"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"common-conversion-examples"},"children":["Common conversion examples"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text → Integer or Decimal"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Only values that are purely numeric convert successfully. Non-numeric text blocks the entire conversion."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Result"},"children":["Result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Norce\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fails"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"fourteen\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fails"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"14\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["→ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["14"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"12.5\""]}," → Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fails (fractional part not truncated)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"14\""]}," → Decimal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["→ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["14.000"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All failing values must be removed or corrected before the conversion can proceed."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text → Boolean"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Only the English words ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["yes"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["no"]},", and the values ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," are accepted (case-insensitive). Other words — including Swedish equivalents like ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sant"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ja"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nej"]}," — are not recognized and will block the conversion."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Result"},"children":["Result"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"true\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["→ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"1\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["→ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"sant\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fails"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"ok\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fails"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Boolean or Number → Text"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This direction always succeeds. No validation failures are possible."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Boolean values become the text strings ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"True\""]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"False\""]}," (not ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Integer ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["14"]}," becomes ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"14\""]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Decimal ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["14"]}," becomes ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"14.000\""]}," (always 3 decimal places)."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text → List"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Distinct text values become new list options. If two products have values that differ only in letter case — for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"norce\""]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Norce\""]}," — they collapse into a single list option (Norce uses a case-insensitive database collation). Which casing is preserved is not guaranteed, so it is worth normalizing case in your data before converting."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tip:"]}," Back up or export your product data before converting a parametric type, especially when converting from Multiple list, or when the parametric has localized values."]}]}]},"headings":[{"value":"Converting a parametric type","id":"converting-a-parametric-type","depth":1},{"value":"What can be converted","id":"what-can-be-converted","depth":2},{"value":"Data loss to be aware of","id":"data-loss-to-be-aware-of","depth":2},{"value":"Common conversion examples","id":"common-conversion-examples","depth":2}],"frontmatter":{"seo":{"title":"Norce User Documentation - Converting parametric types","description":"How to change the type of an existing parametric, what data may be lost, and how common conversions behave.","keywords":"PIM, parametrics, type conversion, change type, data loss"},"metadata":{"redocly_category":"User docs","owner":"MB"}},"lastModified":"2026-09-25T10:29:48.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/user-portal/pim/parametric-type-conversion","userData":{"isAuthenticated":false,"teams":["anonymous"]}}