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
Is it something when a user tried to use any of AI commands in SERP? /Piotr W....
10:07 8 Nov 2024
Brittany McGrath
Thank you for your post Lilian. I see this post has been submitted twice and the second post is being addressed so I will close this duplicate. Thank you. ...
09:41 5 Nov 2024