35
Views
2
Comments
non-terminated text literal outsystems error message

Good day

Please assist I'm getting this error on Outsystems "non-terminated text literal "

I'm trying to add the body of an email, please see below.


" Dear Valued Customer,"+NewLine()+"To obtain your proforma invoice prior to remitting payment, kindly log in to your account using your designated username and password "+NewLine()+" Upon successful login, navigate to the "My Account section" and select "My Invoice." "+NewLine()+"Your invoices, containing the accurate banking information for payment, will be accessible there . "+NewLine()+"For more information, please contact our call center on 087 830 4444"+NewLine()+"Scam Alert"+NewLine()+"Please be advised that we will never communicate changes to our banking details via email or WhatsApp."+NewLine()+"Regards"



I think the issue is on "My Account " and "My invoice" . I want the body of my email to have qoutes on 

"My Account " and "My invoice" , how do I do that, kindly please assist.

Thanking you in advance

2025-01-09 14-56-57
IQ78

https://www.outsystems.com/forums/discussion/44450/how-to-add-double-quotes-in-a-string/

2024-03-23 18-16-49
Bryan Villalobos

Hi @Thandeka Zungu,

You need to add extra double quotes for those double quotes that you need to be shown in the text.

Here is the corrected text:

" Dear Valued Customer,"+NewLine()+"To obtain your proforma invoice prior to remitting payment, kindly log in to your account using your designated username and password "+NewLine()+" Upon successful login, navigate to the ""My Account section"" and select ""My Invoice"" "+NewLine()+"Your invoices, containing the accurate banking information for payment, will be accessible there . "+NewLine()+"For more information, please contact our call center on 087 830 4444"+NewLine()+"Scam Alert"+NewLine()+"Please be advised that we will never communicate changes to our banking details via email or WhatsApp."+NewLine()+"Regards"


Hope this helps.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.