You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have an issue with updating Textarea field with Line Break via REST API.
For example, if I update a field via API like this: (%0A is the URL encode of linebreak)
/ajax/confiforms/rest/update.action?pageId=1234&f=formname&q=entrynumber:1&fv=text:Line1Content%0ALine2Content
The tableview will not show the linebreak: it displays it without linebreak. However, if I edit it, it does show the linebreak properly.
I tried to use [entry.text.replaceCRLFWithBR] & listview instead, it doesn't work either.
If I use the edit window to "save" the edit, the tableview will show the linebreak properly.
- The top one below is the entry with "edit" window from tableview.
- The bottom one below is the entry updated via REST API.
Any idea what I should do to fix the issue? May I should pass something else as linebreak for REST API instead of %0A?
Thank you.
Hi
Try the %0d instead
Alex
Excellent answer. Thank you again for the prompt response and it saves me a lot of time trying to figure it out. @Alex Medved _ConfiForms_ You are awesome as always.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.