StringFromSet Function
Gastón Salomone
12-4-18
Hi,

I´m trying to use StringFromSet function in a WebPublic function and I doesn´t work with customized Set Ids.
It is a SERP 8.4 in cloudnode, but If I start a server manually it Works perfectly also.

I write this set:
SetBegin(920);
    SetText(0," ");
    SetText(1,"No");
    SetText(2,"Yes");
    EndSet;


And If I call StringFromSet(919,2) return "Yes", from client side Its Works.
But I call it in server side in a webpublic function allways returns 2.

Is there any replacement function to use? Is this a bug ?

Regards
Omar Dottin
12-5-18
Hi Gaston, it is important to have

SetLangMode

If you have this already, please also add

SetText(0,"-")

and test. If you are still experiencing issues, we will need the full Hal file to analyze.

Regards,
HW Support
Gastón Salomone
12-10-18
Hi Omar,

Is SetLangMode really necessary ?
I found that as son as I do some Expo/Impo functions starts to work correctly.
But as soon as I validate SERP product key SetLanguage starts to fail, I don´t know Why.


Regards
Omar Dottin
12-27-19
Hi Gaston, our developers do recommend to have SetLangMode in 8.5 as well. It's needed for product key validation. Hope this helps!

Thanks,
Omar
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Piotr Wycichowski
Thanks Gatis, anyway it seems to be reported as bug instead of wish because now it depends on who created task for whom, am I right? /Piotr W....
14:39 15 May 2024
Aldevinas Katkus
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts Not sure why it was duplicated, I clicked "submit"only once....
08:09 10 May 2024