Send Line break in description field via json
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2024 07:39 AM
I have SNOW to SNOW integration. I am creating incident from a record producer. Everything else is working except I am sending variables to description field in incidents. I am not able to send line breaks after each variable. I tried \n and also using<br>. It's not creating line break. Could anyone suggest how to achieve send linebreaks from JSON payload?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2024 09:59 AM
I believe you need to escape your \ character, meaning you would use \\n (double slash) instead of \n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2024 01:46 PM
This is working on separate fields but creating line break in same field is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2024 02:43 PM
Does the field you are trying to write to accept line breaks? For example, the Short Description field does not accept multiple lines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2024 06:09 AM
I am using description field which is string field. I am able to create line break in Json payload but when I do that I am not able to send the payload because of JSON error. Any suggestion on this?