Workflow and ServiceDesk Community

 View Only
  • 1.  Using hidden characters TAB, CRLF in Text Merge

    Posted Dec 04, 2015 09:25 AM

    First post - let's see how it goes.  Using Workflow 7.6.

    I have a TextMerge in a look that concatenates a string and adds each loop - I just get one long string.  I want a new line CR after every loop.  I'd also like a tab.

    I've tried \t \n\l  {tab} that kind of thing.  Anyone know if/where this is documented?



  • 2.  RE: Using hidden characters TAB, CRLF in Text Merge

    Posted Dec 04, 2015 09:32 AM

    I meant loop - not "look"



  • 3.  RE: Using hidden characters TAB, CRLF in Text Merge

    Posted Dec 04, 2015 09:32 AM

    Merge Text stores it as HTML, if you can click on the Source tab to see it.

    <p>

    <br />

    Merge Text (ann).png

    Merge Text (Source).png



  • 4.  RE: Using hidden characters TAB, CRLF in Text Merge

    Posted Dec 04, 2015 09:36 AM

    are you able to use the merge html component instead of the merge text?



  • 5.  RE: Using hidden characters TAB, CRLF in Text Merge

    Posted Dec 04, 2015 09:52 AM

    @AlexHedley - I've had issues trying to force line breaks in text merge components as well; typically i have to switch to Merge HTML components to merge the data, and then display the data on a page with HTMLMerge form component.  Have you been able to successfully accomplish a line break using only standard merge text components?



  • 6.  RE: Using hidden characters TAB, CRLF in Text Merge

    Posted Dec 04, 2015 10:52 AM

    Normally I just use a Script component to manually build up the text, gives me full control.

    Using the merge text/merge html always adds extra html I don't actually need so don't like to use them for anything other than basic text



  • 7.  RE: Using hidden characters TAB, CRLF in Text Merge

    Broadcom Employee
    Posted Dec 04, 2015 11:30 AM

    When I've dealt with manipulating text & inserting new lines I've found the easiest thing to do is use a script component that simply returns the Environment.Newline value and stored this as a variable. I then use this variable inside the Text Merge components to insert the line breaks where I want them.