I am looking for a way to create a line feed in attached data through the IRD attach/update function.
Context: We have a soft phone with a text box for free form notes. This text box is usually updated by agents and corresponds to a KVP (Notes:[text]). Each time a new note is added the soft phone takes the current text, inserts two line feeds, and puts the new note at the top of the text box.
I am trying to find a way within the attach/update function in IRD to do the same when the call is transferred back through a strategy. I have tried using some text editors to create text samples with the line feeds and copy and paste it into the function. It appears to keep the line feeds but when I click OK and reopen the function it squishes (technical term) the first line and second line together.
I could just put a delimiter in between the notes and just have the soft phone parse it, but I would prefer to do this in the strategy and have the KVP reflect the line feeds (logs, etc).
Has any one accomplished this before or have any ideas?
Example below.
Call has routed to agent 1. Agent 1 types a note and transfers directly to agent 2 who types a note. The soft phone prepends the agent name and date/time and and puts two lines feeds between the new note and first note:
Text Box___________________________________________________________
Note 2 some info about the call. added by agent 2 on 7/26/2014 12:34
Note 1 some info about the call. added by agaent 1 on 7/26/2014 12:30
Agent 2 routes the call back through a routepoint to a different group, which goes through a strategy which adds a note, identifies it is from router, puts date/time, two lines feeds and the original text.
Text Box___________________________________________________________
Note 3 some text about the call. added by Router on 7/26/2014 12:39
Note 2 some text about the call. added by agent 2 on 7/26/2014 12:34
Note 1 some text about the call. added by agaent 1 on 7/26/2014 12:30