Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Can you please provide me with a document that tells me which internal services have changed?
For example, I just discovered that GetDesignTimePermissions() and GetRunTimePermissions() outputs have changed in 5.0. This created errors in some of my scripts. I'd rather not have to discover these on a case by case basis and instead would like to have a document that describes all of these changes so I can search through my database and find services that may cause errors now.
Thanks,
Jason
Hi Jason,
The output for the existing Thingworx services should have changed. What errors were returned when you ran these services?
Thank you,
Saeed
correction: Existing services shouldn't have changed by upgrading to 5.0.
Some did change. For example, GetDesignTimePermissions now in 5.0 returns an info table containing these fields: isPermitted, name,
permissionName
, type. But in 4.2 it returned: isPermitted,principalName
, name, type.This difference causes my script to throw an error since "principalName" no longer exists. It's not a difficult fix by any means but it does require a fix. I'd rather not discover more of these problems during customer use and testing, rather I would like to fix these issues before I see error. I would think there would be a list so I can know what changes have been made to existing services.
Hi Jason,
Unfortunately, we don't have any documentation on this at the moment, but if you run across any other issues like this in the future, we would be happy to help you troubleshoot and correct them.
Thank you,
Saeed