Thingworx Directory Services - Issue In Invoking AD Services From Other Things
Hello,
I have this scenario wherein I have to configure the Thingworx Directory Service settings programmatically.
So, when a user specifies a setting from the UI, I need to update it into the respective configuration table on the Directory service.
However, I need to call these services from inside another thing.
When I invoked the services from another thing, all services from my Directory Service entity errored out with - Error executing service <serviceName>. Message :: ReferenceError: "DirectoryServices" is not defined.
For example even the GetConfigurationTables services gives an error -
// result: INFOTABLE dataShape: "EntityList"
var result = DirectoryServices["Test.ActiveDirectory"].GetConfigurationTables();
Is this the default working for directory services in Thingworx or is there anything I am missing ?
Any help is highly appreciated.
Thanks!
Note: Thingworx version is 8.5.6.
