I have problem - in dictionary I have companies with have got: name like:
"ABC " - Factory Company
in name is quote sign on beginning (data from polish national VAT/NIP databese)
I was testing:
if in string is " or '
all time I have got error
if I remove from string [name] " or ' - then workflow is working
[code]
<div style="text-align: Center;">
<button style="text-align: center;" font-weight: bold;
onclick="StartElementInNewWindow(#{WF:28}#,#{DT:58}#,'WFD_AttChoose1='+encodeURIComponent('#{N:671}#'))">
Dodaj Sprzedawcę / Kontakt</button>
</div>
<BR>
<div style="text-align: Center;">
[/code]
error:
url: https://webcon.xxx/api/logger | action:
ip: xxx | msg: "e": {}, "message": "'' string literal contains an unescaped line break", "name": "SyntaxError", "logData": {
"msg": "Uncaught Exception",
"errorMsg": "SyntaxError: '' string literal contains an unescaped line break",
"url": "https://webcon.xxx/db/1/app/9/element/16337/form/admin?returnurl=%2Fdb%2F1%2Fapp%2F9",
"line number": 1,
"column": 69
}, "errorGuid": "4f2fe9ec-ba92-4148-b55c-1ffb99b81e58" | agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0 | href: https://webcon.xxx/db/1/app/9/element/16337/form/admin?returnurl=%2Fdb%2F1%2Fapp%2F9 | ex:
any Idea how to solve problem with out changing whole dictionary ... and remove " " from name ?
webcon 2022.1.4.84