Тема: JS API: How to get custom fields of current user
Hello! I need to obtain custom fields of current session user.
wialon.core.Session.getInstance().loadLibrary("itemCustomFields");
var user_fields = wialon.core.Session.getInstance().getCurrUser().getCustomFields();
After successful login the code above returns null. What else should I do?
Thanks!