Importing Reason Tree Related Information in Bulk
Importing In Bulk
1. From any of the Reason Tree screens, click Download Template to open the Download template window. Select Data Tokens, Reason Categories, Reasons, Reason Trees, Reason Tree Equipment Data, Reason Tree Data, Reason Tree Category Data or any combination of the seven and click Download to download the .xlsx file needed to bulk import.
* 
Click Import if a template is already complete and skip to step 13.
2. Open the template.
3. For the Data Tokens template, four columns will display:
Column
Requirements
Description
Selected
X or blank
All rows marked with an X will be imported.
Token
AlphaNumeric
Token name
Default Value (en — English)
AlphaNumeric
Default English translation of token
Context
AlphaNumeric
Context for the token within the applicaton.
4. For the Reason Categories template, four columns will display:
Column
Requirements
Description
Selected
X or blank
All rows marked with an X will be imported.
Reason Category Name
AlphaNumeric
Name of Reason Category
Translation Token Name
AlphaNumeric
Translation token to be associated with Reason Category
Category Type Name
AlphaNumeric
Category type the reason category is to be associated with.
5. For the Reasons template, three columns will display:
Column
Requirements
Description
Selected
X or blank
All rows marked with an X will be imported.
Reason Name
AlphaNumeric
Name of Reason
Translation Token Name
AlphaNumeric
Translation token to be associated with Reason
6. For the Reasons Trees template, five columns will display:
Column
Requirements
Description
Selected
X or blank
All rows marked with an X will be imported.
Reason Tree Name
AlphaNumeric
Name of the Reason Tree
Translation Token Name
AlphaNumeric
Translation token to be associated with Reason Tree
Enabled
0 or 1
Determines if row will imported Enabled (1) or Disabled (0)
Event Type
List
Event Type associated with Reason Tree
7. For the Reason Tree Equipment Data template, three columns will display:
Column
Requirements
Description
Selected
X or blank
All rows marked with an X will be imported.
Equipment Name
AlphaNumeric
Name of equipment to be associated with Reason Tree.
Reason Tree Name
AlphaNumeric
Name of the Reason Tree associated with the Equipment
8. For the Reason Tree Data template, three columns will display:
Column
Requirements
Description
Selected
X or blank
All rows marked with an X will be imported.
Reason Tree Name
AlphaNumeric
Name of the Reason Tree
Reason Name
AlphaNumeric
Reason to be associated with the Reason Tree
Parent Reason Name
AlphaNumeric
Name of Reason one level above Reason
Reason Level
Numeric
Level of Reason Tree the Reason sits on
9. For the Reason Tree Category Data template, three columns will display:
Column
Requirements
Description
Selected
X or blank
All rows marked with an X will be imported.
Reason Tree Name
AlphaNumeric
Name of Reason Tree
Reason Category Name
AlphaNumeric
Name of Reason Catgeory to be associated
Reason Name
AlphaNumeric
Reason to be associated with the Reason Tree
Reason Level
Numeric
Level of Reason Tree the Reason sits on
10. Save the file.
11. Return to the Product Types screen within ThingWorx.
12. Click Import. The Import from Excel window will open.
13. Click Choose File and select the saved template from the directory.
14. Click Upload. If upload was successful “Ready to Import # rows” with # corresponding to the number of rows in your completed template will display.
15. Click Import File.
16. Successful imports
a. Imports without errors will look like the image below.
17. Unsuccessful imports
a. If the import was successful, but errors are found in the Excel data the window will display the following. Click the Download Import Results button to download a file that details errors found by row.
Was this helpful?