NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Wolfgang Orth on February 05, 2021, 05:06:14 AM
-
Hello again, Bruce!
SOAP-API manual again
On Nov 18 2020 I reported via mail about a tiny glitch in the listing of variables, when STRINGs are longer than 255 charactes. Any STRING longer gets displayed as STRING([255]) and in the right column "String from 0 to 255 characters". My guess is that you obtain that number from the picture of that variable, not from its length definition itself.
I manipulate the packet-Object in the SendPacket ROUTINE with
packet.Replace('some significant text' & &'STRING([255])', '.... STRING([10.000])', 1)
It works, its fast enough, but its a somehow dirty workaround and I just wanted to ask, if there will be a clean fix.
thx
Wolfgang
Attachment: Stringsize_API-Manual.PNG
packet.Replace('<div class="nt-service-fieldtype"> (string[255])</div>', '<div class="nt-service-fieldtype"> (string[10.000])</div>', 1)
-
Correct, the length comes from the picture.
Are we talking about a field here, or something in a group, queue, view or table?
Cheers
Bruce
-
Correct, the length comes from the picture.
Are we talking about a field here, or something in a group, queue, view or table?
Cheers
Bruce
Hello Bruce,
when STRINGs are used as returnvalues, there is a fields to set a PICTURE. This helps to override the @S255 - but for STRINGs only.
All other do not offer this ability. Which lies in their nature.
Screenshot with detail (except for a VIEW) is appended.