From 0686aeee877b8eb407387ca1d0ed5969dc5a9826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patricija=20Bre=C4=8Dko?= Date: Wed, 22 Oct 2025 12:56:13 +0200 Subject: [PATCH 1/2] Add Map Enum Transformation Method --- templates/initial_domain_mapping_boilerplate.plain | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/initial_domain_mapping_boilerplate.plain b/templates/initial_domain_mapping_boilerplate.plain index ce930d8..e432f6b 100644 --- a/templates/initial_domain_mapping_boilerplate.plain +++ b/templates/initial_domain_mapping_boilerplate.plain @@ -14,6 +14,8 @@ - The External Transformation Method is a transformation method that is used to map an external field to a DevRev stock field. To apply The External Transformation Method to The Stock Field Mapping Field, set the Metadata extraction transformation method type to "use_directly", "use_as_array_value", "use_rich_text", depending on the context. Field "primary_external_field" should be set to the name of the external field to map. +- The Map Enum Transformation Method is a transformation method that is used to map an external field enum to a DevRev enum. To apply The Map Enum to The Stock Field Mapping Field, set set the Metadata extraction transformation method type to "map_enum". If using The Map Enum, the value of the field "transformation_method_for_set" inside The Stock Field Mapping Field should be `{"forward": "", "transformation_method": "map_enum", "is_array": false}`, where `` is a JSON object. This JSON object has keys, which are all possible enum values of the external field. Each key has a value, which is also a JSON object `{"value": ""}`, where `` is the enum value to which the external field enum maps. + - The DevRev Record Transformation Method is a transformation method that is used enable use of a fixed reference to something in DevRev. To apply The DevRev Record Transformation Method to The Stock Field Mapping Field, set the Metadata extraction transformation method type to "use_devrev_record". - The Shard Mode Type is an option in The Initial Domain Mapping JSON object through which you can specify shard type for the mapping for the given record type. From 44c018604d0b5fd8698218e303db86f7b3cbac66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patricija=20Bre=C4=8Dko?= Date: Wed, 22 Oct 2025 12:58:34 +0200 Subject: [PATCH 2/2] Update templates/initial_domain_mapping_boilerplate.plain Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- templates/initial_domain_mapping_boilerplate.plain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/initial_domain_mapping_boilerplate.plain b/templates/initial_domain_mapping_boilerplate.plain index e432f6b..2f9d303 100644 --- a/templates/initial_domain_mapping_boilerplate.plain +++ b/templates/initial_domain_mapping_boilerplate.plain @@ -14,7 +14,7 @@ - The External Transformation Method is a transformation method that is used to map an external field to a DevRev stock field. To apply The External Transformation Method to The Stock Field Mapping Field, set the Metadata extraction transformation method type to "use_directly", "use_as_array_value", "use_rich_text", depending on the context. Field "primary_external_field" should be set to the name of the external field to map. -- The Map Enum Transformation Method is a transformation method that is used to map an external field enum to a DevRev enum. To apply The Map Enum to The Stock Field Mapping Field, set set the Metadata extraction transformation method type to "map_enum". If using The Map Enum, the value of the field "transformation_method_for_set" inside The Stock Field Mapping Field should be `{"forward": "", "transformation_method": "map_enum", "is_array": false}`, where `` is a JSON object. This JSON object has keys, which are all possible enum values of the external field. Each key has a value, which is also a JSON object `{"value": ""}`, where `` is the enum value to which the external field enum maps. +- The Map Enum Transformation Method is a transformation method that is used to map an external field enum to a DevRev enum. To apply The Map Enum to The Stock Field Mapping Field, set the Metadata extraction transformation method type to "map_enum". If using The Map Enum, the value of the field "transformation_method_for_set" inside The Stock Field Mapping Field should be `{"forward": "", "transformation_method": "map_enum", "is_array": false}`, where `` is a JSON object. This JSON object has keys, which are all possible enum values of the external field. Each key has a value, which is also a JSON object `{"value": ""}`, where `` is the enum value to which the external field enum maps. - The DevRev Record Transformation Method is a transformation method that is used enable use of a fixed reference to something in DevRev. To apply The DevRev Record Transformation Method to The Stock Field Mapping Field, set the Metadata extraction transformation method type to "use_devrev_record".