Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation x

RE: Anyone ever bulk loaded ECN/ECR into Windchill?

Rohaan
14-Alexandrite

RE: Anyone ever bulk loaded ECN/ECR into Windchill?

Question related to this old post

 

I was able to load only Change Requests using OOTB , Other Change Objects gets me an error for loader method.

 

Can anyone help?

 

 

Thanks.

ACCEPTED SOLUTION

Accepted Solutions
avillanueva
23-Emerald I
(To:Rohaan)

Yes, I did this for a migration with my old company. It was with 10.1 but I had to write a custom command line script to do this. Basically, had some data in a tab delimited or CSV format and the loader program created the change objects. I can see if I still have a copy of it but no promises, was a few years ago. I created CRs and CNs using this process.  I believe I also had it link to the changeables as well.

 

...and next time I should check dates. I believe that Steve has long since solved this problem. That's an issue with the community site of old posts resurrecting themselves when someone replies.

View solution in original post

3 REPLIES 3
avillanueva
23-Emerald I
(To:Rohaan)

Yes, I did this for a migration with my old company. It was with 10.1 but I had to write a custom command line script to do this. Basically, had some data in a tab delimited or CSV format and the loader program created the change objects. I can see if I still have a copy of it but no promises, was a few years ago. I created CRs and CNs using this process.  I believe I also had it link to the changeables as well.

 

...and next time I should check dates. I believe that Steve has long since solved this problem. That's an issue with the community site of old posts resurrecting themselves when someone replies.

Turko
14-Alexandrite
(To:avillanueva)

Hi @avillanueva - I am also now trying to bulk load soft type change request objects. I don't believe this is possible using the "LoadFromFile" utility. You have mentioned developing a command line script to achieve similar objectives to what I am aiming for. Are you able to shed any light on how this command line script was constructed? Or point me towards any resource that explains how command line script can be developed to load objects into Windchill in mass?

avillanueva
23-Emerald I
(To:Turko)

@Turko , yes, it is not possible from LoadFromFile.  I used the normal Windchill APIs to create the change objects and executed from a command line program on the server. The customizer's guide should have examples or even this site of command line utilities, just Java programs run at the Windchill shell which can connect to Windchill and execute RMI code. Once you get the basic structure, its fairly easy to do any custom utilities you need. I have some that do mass renames of objects from a list.  

In this case, I had data on change objects that I extracted from this site's legacy database. That was used to create the change objects manually, links and persist them all. 

Announcements


Top Tags