[cisco-voip] Escape charaters in UCCX scripts
Brian Meade
bmeade90 at vt.edu
Thu Jul 24 16:21:14 EDT 2014
Here's one way I found to do it-
https://supportforums.cisco.com/discussion/11741046/uccx-create-email-step-content-body
On Thu, Jul 24, 2014 at 3:49 PM, ROZA, Ariel <Ariel.ROZA at la.logicalis.com>
wrote:
> Guys,
>
>
>
> I am trying to work with a UCCX script, but i don´t seem to get the hang
> of using the escape characters. At least does not seem to behave like a
> normal programming language.
>
>
>
> This is the scenario:
>
>
>
> I am appending some info to a text file, like a common .CSV file.
>
>
>
> I would like to achieve this:
>
>
>
> Each line is an append from my script (a very simple test script)
>
>
>
> 2000;25427462;5;4
>
> 2000;25427462;5;4
>
> 2000;25427462;5;4
>
> 2000;25427462;5;4
>
>
>
> But instead, I am Getting this:
>
>
>
> 2000;25427462;5;42000;25427462;5;42000;25427462;5;42000;25427462;5;4
>
>
>
> And when I try to use the escape carácter \n, I get this:
>
>
>
> 2000;25427462;5;4\n2000;25427462;5;4\n2000;25427462;5;4\n2000;25427462;5;4
>
>
>
> The lines I use to concatenate the file is this:
>
>
>
> Set dFile = DOC[demo\encuesta.txt] + "\n" + TEXT[sCallingNumber+";"+ sDNI
> +";"+ sPregunta1 +";" + sPregunta2]
>
> Set sFilePath = “demo\encuesta.txt”
>
> Upload Document (dFile to L[], sFilePath)
>
>
>
> So far, I tried using \n without the quotes, but it gives me an error.
> Also ‘\n’ seems to do the same as the double quotes…
>
> How can I make it to insert a newline?
>
>
>
> Regards,
>
>
>
> *Ariel Roza*
> *Field Engineer / Argentina*
> *Logicalis *
>
> Tel: +54 11 4344 - 0458
> ariel.roza at la.logicalis.com
>
> Peru 327 – CABA – Argentina – C1067AAG
>
> www.la.logicalis.com
> *________________________*
> *_________________________ **Business and technology working as one*
>
>
>
> *Síguenos en:* [image: Description: Description: Descripción:
> Descripción: Descripción: Descripción: Descripción: Descripción: tw]
> <http://twitter.com/LogicalisLatam> [image: Description: Description:
> Descripción: Descripción: Descripción: Descripción: Descripción:
> Descripción: fb]
> <http://es-es.facebook.com/pages/Logicalis-Latam/234648439078> [image:
> Description: Description: Descripción: Descripción: Descripción:
> Descripción: Descripción: Descripción: yt]
> <http://www.youtube.com/logicalislatam>
> <http://www.slideshare.net/logicalis> [image: Description: Description:
> Descripción: cid:image005.jpg at 01CCDC0C.A5297E60]
> <http://www.cxounplugged.com/>
>
> [image: Description: Description: Descripción: Descripción: Descripción:
> http://www.estudioponzo.com.ar/firma.gif]
>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/cf3cc427/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.jpg
Type: image/jpeg
Size: 3975 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/cf3cc427/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 1384 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/cf3cc427/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.jpg
Type: image/jpeg
Size: 851 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/cf3cc427/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.jpg
Type: image/jpeg
Size: 864 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/cf3cc427/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1467 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/cf3cc427/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 1469 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/cf3cc427/attachment-0002.png>
More information about the cisco-voip
mailing list