Skip to main content
15-Moonstone
February 22, 2018
Solved

Migrating WTDocuments to that target system with some added or extra attributes.

  • February 22, 2018
  • 2 replies
  • 3410 views

Hi All,

 

We are migrating WTDocument without using WBM to Windchill 11 system.

 

We have now added some extra attributes (soft attributes) to the WTDocument and then we are trying to migrate the same WTDocument once again. Can anyone suggest me like how would I be migrating it ? 

 

Is it using LoadFromFIle or should I be developing a utility for the same. If yes can anyone share me some code snippet for the same. Thanks in advance.

 

Best Regards,

 

Aditya

Best answer by Vincent-Kulak

But what if there are many WTDocuments in the system, will LoadFromFile still be a feasible option to load new attributes on top of the existing WTDocuments.


WTDocument objects included in load file are loaded as new iterations if number already exists ( refer to CS )

 


Kindly let me know if there is any other way apart from LoadFromFile..


OOTB no. You must write some custom loader or SQL script.

2 replies

15-Moonstone
February 26, 2018

Hi

 

Without deleting your first load ?

aachanta15-MoonstoneAuthor
15-Moonstone
February 27, 2018

Hi Vincent,

 

Yes without deleting the WTDocument.

 

We wish to load the same WTDocument with some extra attributes. So how would I be doing it ? Can you please let me know about it.

 

Thanks and Regards,

Aditya

15-Moonstone
February 27, 2018

See CS24607, it may help

 

Vincent.

1-Visitor
April 12, 2020

Purge and delete the old iterations of the docs and now upload the docs with new attributes