History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2546
Type: Task Task
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Phong Trinh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Backup User Attributes

Created: 25/Sep/15 08:18 PM   Updated: 09/Oct/15 12:33 AM
Component/s: None
Affects Version/s: 6.0.21
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Linux


 Description  « Hide
 May you advise me on a good way which I can backup user attributes of QB nodes via a script or QB?

 Thank you in advance,
ptrinh

 All   Comments   Work Log   Change History      Sort Order:
Phong Trinh [07/Oct/15 09:31 PM]
 May you please let me know on how to back up User Attributes of QB nodes?

Robin Shen [08/Oct/15 12:50 AM]
You may run below script to get map of user attributes:
node.getUserAttributes()
And then save it to some place you think appropriate.

Later you may restore it by calling
node.setUserAttributes(mapOfAttributes, true);

Phong Trinh [08/Oct/15 03:05 PM]
Thank you very much for the advice.
 Quick question: may I export the user attributes using REST?