Trying to load an item's sublist value via a RESTl...
# general
t
Trying to load an item's sublist value via a RESTlet. When I load the item record in browser console, and perform item_record.getLineCount('sublistname') - I get 1, which is the correct result. In the RESTlet I get 0. Any clues why these two values would be different?
My initial thought was maybe dynamic vs non dynamic but I've tried setting it to true and false and get the same result
b
is the same role used in the restlet and ui
t
two different roles
would that affect sublist for an inventory item?
Both roles have permissions: full for the custom record that makes up the sublist
b
i advise using the same role and user and trying again
t
I switched to the same role using UI and I can see the sublist in UI but do not see it otherwise
very strange
is there a permissions for sublists composed of custom records that is different than the general permission for it?
b
im not sure, roles and permissions are a blackhole of time
t
gotcha
thank you for your help