Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I have been unable to get the complete infotable for GetRunTimePermissions()* service call for any Thing.
Expected Infotable:
Received Infotable:
The service is unable to display the complete "Permissions" datashape. Is there any permissions which is inhibiting the output of complete infotable?
*Using ThingWorx 8.5.4-b222.
Solved! Go to Solution.
Ideally Permissions DS is a system object and this service is an inbuilt API, so there are very less chances of having any issue with service or DS field definition deletion/modification. But it is quite weird that even in F12 it is returning two columns only. Did you try restarting your server and test this again (in case there is some modification/change in memory) ?
Can you check "Permission" Datashape in your system, how many columns are there in that DS? (You can search for DataShape and you have to enable the search for system object from the filter) .Second point, when you execute the service from composer, can you please press F12 while executing and observe the returned DS columns in response tab of F12 ? If there was a permission problem on the user, then whole service should not execute complaining about permission issue on execution but it is returning half of the DS columns.
@mnarang Thanks for responding!
"Permissions" DS has all the fields(isPermitted, name, type,permissionName) which are anticipated in the result. But all these columns don't show up.
On checking the F12/developers window it shows only these columns "isPermitted" & "permissionName".
I checked on another TWX 8.5 instance and all the required columns show up. Unsure whats missing on this instance at this point in time.
Ideally Permissions DS is a system object and this service is an inbuilt API, so there are very less chances of having any issue with service or DS field definition deletion/modification. But it is quite weird that even in F12 it is returning two columns only. Did you try restarting your server and test this again (in case there is some modification/change in memory) ?