Title: RE: How to reflect a new line in an HTML format?
**

Carey:

Use of the <br> or break character may or may not give the results that Paul is looking for.  I recommend, as do several other folks here, the use of the <P> for the beginning of a paragraph and the </P> at the end.  This does comply with W3C convention and almost guarantees the results Paul is looking for.

James McKenzie
L-3 GSI
 

-----Original Message-----
From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Carey Matthew Black
Sent: Monday, September 25, 2006 1:56 PM
To: [email protected]
Subject: Re: How to reflect a new line in an HTML format?

Paul,

Oh... and I meant to say this the first time...

In that Set Field action that your doing that REPLACE() function...
make sure your doing something like...

REPLACE ($Submitter$, RIGHT("
",1), "<br>")

The first parameter in the RIGHT() function is done by clicking on the "..." box in the set field value and typing a return.

The reason you need to do that RIGHT() trick is that ARS actually LPAD's a hard return with a space automatically when you save the workflow. So when you say "<cr>" it saves " <cr>". Which throws out the REPLACE function's matching. :)

ARS 101 (been this way since v5? v6?)
--
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.


On 9/25/06, Carey Matthew Black <[EMAIL PROTECTED]> wrote:
> Paul,
>
> Also make sure that the HTML your producing is a full HTML document.
> ("< html >< body > ... more stuff here ...< / body>< / html >") [ Note
> I added spaces in those tags to try to help those poor people who use
> a browser to read their email. ] You may not be seeing things because
> of the browser trying to "help you" if you only passed it a chunk of
> an HTML doc like a single paragraph.
>
> And when you say "substituting" you really mean a Set field action
> that is prepping the character field before you push the contents
> (HTML doc) into the view field right?
>
> HTH.
>
> --
> Carey Matthew Black
> Remedy Skilled Professional (RSP)
> ARS = Action Request System(Remedy)
>
> Love, then teach
> Solution = People + Process + Tools
> Fast, Accurate, Cheap.... Pick two.
>
>
>
> On 9/25/06, Paul Shea <[EMAIL PROTECTED]> wrote:
> > I'm having a problem converting a multi-line character field to an
> > HTML document.
> > When I hit the 'Enter' key and tab over to the next line in a Remedy
> > character field, the HTML text doesn't appear on a new line.
> > I've tried substituting the symbol "|" and "ΒΆ" with the <BR> tag,
> > but the symbols aren't recognized.
> > Is there a special character or symbol that denotes a carriage
> > return or end of line that I need to replace with a <BR> tag?
> > Thanks,
> > Paul Shea
> > Tideworks Technology
> > [EMAIL PROTECTED]

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

__20060125_______________________This posting was submitted with HTML in it___

Reply via email to