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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Translate the entire conversation x

Changing the quality classificaion tree using XML importer

JB_13666138
3-Newcomer

Changing the quality classificaion tree using XML importer

Version: Windchill 13.0

 

Use Case: Say, we have a large classification tree that has some nodes that need to be moved, others need to be added or deleted automatically.


Description:

We do not want to do this task with hand (as it will take a lot of time and need to be done on our QA environments first). We also want a script to do this so that in the future, when the tree changes according to our business needs it can be easily done. Though when I was looking for any documentation on how to do this I could not find anything to help me. Currently i am trying to insert a new child node of a child node: root > classification > new node trying to import the following file: 

<?xml version="1.0"?>

<!DOCTYPE NmLoader SYSTEM "standardX26.dtd">

 

<NmLoader>

    <csvLoader>

        <objectType>com.ptc.windchill.enterprise.iba.classification.ClassificationNode</objectType>

        <csvFile csvSeparator="," isLoadFile="false">

                        Name,DisplayName,ParentNodeInternalName,Description

                        NEW_TEST_NODE,New test node,NonconformanceCategoryTree,This node is used completely and only for testing.

            </csvFile>

    </csvLoader>

</NmLoader>

Trying to import this only gives error that it can not read the file.

1 REPLY 1

Hi @JB_13666138 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best regards,


Catalina
PTC Community Moderator
PTC
Announcements

Top Tags