Unable to get complete infotable with GetRunTimePermissions()* for things.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Unable to get complete infotable with GetRunTimePermissions()* for things.
I have been unable to get the complete infotable for GetRunTimePermissions()* service call for any Thing.
Expected Infotable:
ExpectedInfotable
Received Infotable:
ReceivedInfotable
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.
- Labels:
-
TWX Dev Portal
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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) ?
- Tags:
- n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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) ?
- Tags:
- n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
