Skip to content

Commit de713a5

Browse files
committed
1194: add mapping-5.0.mdx to release notes
1 parent e98f0e4 commit de713a5

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: "Changes in Version 5.0 (CC5.1.2)"
3+
sidebar_position: 0
4+
---
5+
6+
The following changes to the `mapping.xml` file are part of the Cloud Connector 5.1.2 release.
7+
8+
If you are using a custom mapping.xml file, you need to manually apply these updates. See [Manage Customization with Newer Releases](/integration/external-integrations/freshservice-integration/customize-freshservice#manage-customization-with-newer-releases).
9+
10+
## Obsolete Field Attributes Removed
11+
12+
The following field element attributes were removed from all field mappings, as the new default behavior is to not send null and blank values to Freshservice, making these attributes unnecessary:
13+
14+
- `not-null`
15+
- `skip-if-null`
16+
- `set-space`
17+
18+
## Examples
19+
20+
The examples below show field elements with these attributes removed.
21+
22+
### Example 1: `set-space` Attribute Removed
23+
24+
- Version 4.0:
25+
26+
```xml
27+
<field resource="name" source-type="string" target="name" target-type="string" target-header="General"
28+
set-space="true" min-length="1" max-length="248" escape="true"/>
29+
```
30+
31+
- Version 5.0:
32+
33+
```xml
34+
<field resource="name" source-type="string" target="name" target-type="string" target-header="General"
35+
min-length="1" max-length="248" escape="true"/>
36+
```
37+
38+
### Example 2: `not-null` and `skip-if-null` Attributes Removed
39+
40+
- Version 4.0:
41+
42+
```xml
43+
<field resource="used_by" source-type="string" target="user_email" target-type="string"
44+
not-null="true" skip-if-null="true"/>
45+
```
46+
47+
- Version 5.0:
48+
49+
```xml
50+
<field resource="used_by" source-type="string" target="user_email" target-type="string"/>
51+
```

0 commit comments

Comments
 (0)