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
Arzu Erdogdu
Hello! You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...
09:29 13 Jun 2025
Paul Timms
Hi Yavuz The Services Cache register is stored on the server. Our customer servers are either Linux or Windows. The client OS is irrelevant. Thanks Paul...
14:44 10 Jun 2025