cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to get complete infotable with GetRunTimePermissions()* for things.

SOLVED
Soura
Garnet

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:

ExpectedInfotableExpectedInfotable

 

Received Infotable:

ReceivedInfotableReceivedInfotable

 

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Unable to get complete infotable with GetRunTimePermissions()* for things.

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) ?

View solution in original post

Tags (1)
4 REPLIES 4

Re: Unable to get complete infotable with GetRunTimePermissions()* for things.

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.

Re: Unable to get complete infotable with GetRunTimePermissions()* for things.

@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.

Re: Unable to get complete infotable with GetRunTimePermissions()* for things.

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) ?

View solution in original post

Tags (1)

Re: Unable to get complete infotable with GetRunTimePermissions()* for things.

Thanks @mnarang! Restart did it! Low memory could have been an issue.

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.