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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

User

pagrawal1
5-Regular Member

User

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

3 REPLIES 3
pagrawal1
5-Regular Member
(To:PaiChung)

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.

pagrawal1_0-1593109487856.png

.

.

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.

PaiChung
22-Sapphire I
(To:pagrawal1)

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.

Top Tags