Is there a way to concat. a return character to a plain text attribute?
This is for plain text outgoing email formatting.
The only thing that seems to work is by going into the textual rules view and press the return key ("enter"). But AwareIM reformats this everytime I open the rule leaving me to have to do it all over again.
Is there a way I can just add \n or \r to my string?
Return Character
Tom, I have a similar question. I've created a non aware BO and a very simila BO. The intention is to create a process to create instances in the new BO for every intance of the old BO. This is so I can do a lot of tidying up of the old - undisciplined data. I thought it would be good to hold addresses in a different format - one big text field instead of address1, address2, etc etc.
So part of my process says create customers with customers.address = oldcust.add1+oldcust.add2+oldcust.add3 but I've a feeling it will come out as 10 anystreetAnyDistrictAnytown instead if
10 any street
any district
any town
With VB scriot it was easy we just used CHR(13) in between the + so it would read oldcust.add1+chr(13)+oldcust.add2 etc etc
I've searched the manual but nothing come up about concatenation of strings
So part of my process says create customers with customers.address = oldcust.add1+oldcust.add2+oldcust.add3 but I've a feeling it will come out as 10 anystreetAnyDistrictAnytown instead if
10 any street
any district
any town
With VB scriot it was easy we just used CHR(13) in between the + so it would read oldcust.add1+chr(13)+oldcust.add2 etc etc
I've searched the manual but nothing come up about concatenation of strings
Hi Tom - GOD this forum server is slow today.
Your suggestion will work if I make the address field an html field I think. I'll try it later. Right now the best laid plans of mice and men .... My big idea just hit the buffers with an "Internal Error" notice and there's nothing in the logs to say why.
The process has 2 rules
find all oldcustomers
create customers for each oldcustomers with ......... and about 15 attribute assignments
I used the F3 rule entry assistant and the rule was accepted with no errors and I've visually checked it a dozen times.
The log tells me it finds the old customers ok, evaluates the second rule but then fails when executing the 2nd rule.
Hey ho - back to the drawing board.
Your suggestion will work if I make the address field an html field I think. I'll try it later. Right now the best laid plans of mice and men .... My big idea just hit the buffers with an "Internal Error" notice and there's nothing in the logs to say why.
The process has 2 rules
find all oldcustomers
create customers for each oldcustomers with ......... and about 15 attribute assignments
I used the F3 rule entry assistant and the rule was accepted with no errors and I've visually checked it a dozen times.
The log tells me it finds the old customers ok, evaluates the second rule but then fails when executing the 2nd rule.
Hey ho - back to the drawing board.
1) you don't have to make the address attribute an HTML type. One option is for it to be plain text type and just present it in an HTML attribute on a form.
2) re: Find / Create -- sometimes I use 1 process to call another. FIND in first process with CREATE in the second. The 2nd process would have a Process Input of oldcustomers.
2) re: Find / Create -- sometimes I use 1 process to call another. FIND in first process with CREATE in the second. The 2nd process would have a Process Input of oldcustomers.
Tom - V8.8 build 3137 - MySql / PostGres
Well .... Not sure why (one for Aware support) but splitting the process as you suggested at least threw up some decent errors in the log viewer that I could work on instead of the one liner which just said "you failed"
All sorted now - thanks for the tip, Tom
PS ... it was all to do with the rubbish old data - like a 23 character postcode (that's a zip code to you).
All sorted now - thanks for the tip, Tom
PS ... it was all to do with the rubbish old data - like a 23 character postcode (that's a zip code to you).