I need your help.
I have been trying to export the Users for taking back up from ThingWorx, for which I have written a service using "SourceControlEntities" and it is working fine.
But while Export, the PASSWORD of user's gets reset.
Due to which, I can not login again to Thingworx with those Users including Administrator.
Please help me to suggest a way to Export the Users via Service.
Thanks.
Waiting for reply.
Prashant Agrawal
I believe you want to use 'Universal Export'
I'm linking you to two pieces in the help documentation about Universal Export and Passwords.
Hope this helps.
Hi Pai,
Thanks for replying.
I can do Export Using the menu given on top of Composer.
If I choose -> Export to File,
then when I import the Users to Thingworx -> Import from file,
the passwords gets also imports successfully.
As it uses some hash mechanism in background.
.
.
I want to do this by a service so that the service can get called from scheduler on daily basis to export Users.
.
.
When I do Export from service, I write the code using "SourceControlEntities" from which password doesn't get export to xml.
Hence while Importing, password doesn't get import as I mentioned earlier.
.
.
I explored the documents you sent me, didn't able to extract a solution from that.
.
.
As in Universal Export, Password can't be exported.
.
.
But there must be a way so that I can export users from service
and
Import back to same or other system
and
can get back all users with their credentials
and
they can successfully login.
Please guide me or help me in this.
Alot of hope I am writing this.
Thanks.
Turn on developer tools as you execute the export, I believe you'll see some call to /exporter
You might be able to execute that as well using a service possibly using contentloader functions.