Extending Archetype entity.SMSConfigEmailClickatell.1.1
I was trying to add the Sender ID function into the custom archetype designed for Clickatell...however I ran into a slight hitch....
I added a new string node. senderId, which worked and I adjusted the textexpression concat to read...
'concat("user:", $user,"password:", $password, "\n","api_id:", $apiId,"to:", $phone,"from:", $senderID,reply:", $replyTo,"text:", replace($message, "","text:"))'
however changing the concat broke something ...I compared it too the orignal archetype and I am now assuming to had some hidden chars I couldnt see.
I attempted to change the adl and reload the concat but that doesnt work either
node name="textExpression" path="/details/textExpression" type="java.lang.String" minCardinality="1" hidden="true"
defaultValue="'concat("user:", $user, "
password:", $password, "
api_id:", $apiId, "
to:", $phone, "
reply:", $replyTo, "
from:", $senderID, "
text:", replace($message, "
","
text:"))'"/>
was what I tried.. I realize that 
 is the code for a line return byte wise, but somehow its getting stripped or modifed when I edit the archetype in the interface as well as with a text editor on the adl...of course I can see the final replace is supposed to replace line returns with a "text:" and new line.
the output of the concat shows :
user:usernamepassword:passwordapi_id:123456to:614000000from:0412341234reply:asd[at]ascd[dot]comtext:text:Stext:atext:mtext:ptext:ltext:etext: text:Stext:Mtext:Stext: text:stext:etext:ntext:ttext: text:ftext:rtext:otext:mtext: text:Otext:ptext:etext:ntext:Vtext:Ptext:Mtext:
text:Stext:
Any tips, I was editing the .adl files using a simple notepad program maybe thats not the best way.