The CreatorCon Call for Content is officially open! Get started here.

Write a code for server script for fetching a custom table value ?

1dusjhyahnt
Tera Contributor

Screenshot 2024-02-05 at 10.41.50 AM.jpegScreenshot 2024-02-05 at 1.05.00 PM.jpegScreenshot 2024-02-05 at 10.36.03 AM.jpeg

16 REPLIES 16

Hello @1dusjhyahnt ,

 

You are using if , so only one record will be returned. So kindly update the info messages line with below code

gs.addInfoMessage(data.values[0].u_name)

gs.addInfoMessage(data.values[0].u_class)

Hello @1dusjhyahnt ,

 

If it is helpful, Kindly click on "Helpful".