Topic: Unable to access admin field of logged in user from javascript library
Hi,
I am trying to access admin fields of logged in user from javascript library. it throws error code : 5 and data =null.
Here is my sample code.
sess.searchItem(accountId, wialon.item.Item.dataFlag.adminFields, function (code, data) {
                    if (code != 0) {
                        console.log("Cannot get account list: " + wialon.core.Errors.getErrorText(code), true);
                        return;
                    }
                    console.log(data);
                });
However with wialon.item.Item.dataFlag.base flag it is giving result without admin field values.
Please help me solve this issue.
J Prabhu