Skip to main content
6-Contributor
May 27, 2024
Solved

How can we add Iteration note for WTpart using loadfromfile utility

  • May 27, 2024
  • 3 replies
  • 1403 views

Version: Windchill 12.1

 

Use Case: To add various comments that are used for the modifying the PArts


Description:

unable to create Iteration comments using XML loadfromfile

Best answer by d_graham

If you really need an iteration note, a note can be added post loadFromFile either via a direct dB edit or it is also possible to add a note using a Java class that uses OOTB Windchill APIs.  And yes, this note can be added without iterating the object,

3 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
May 27, 2024

Hi @akshay_r 

Unfortunately the loadfromfile utility does not support the iteration comment

 

Following list is all what you can define based on csvtoxml.txt file for WTPart

BeginWTPart~create~wt.part.LoadPart.beginCreateWTPart~user~partName~partNumber~type~genericType~collapsible~logicbasePath~source~folder~lifecycle~view~variation1~variation2~teamTemplate~lifecyclestate~typedef~version~iteration~enditem~traceCode~organizationName~organizationID~securityLabels~createTimestamp~modifyTimestamp~minRequired~maxAllowed~defaultUnit~serviceable~servicekit~authoringLanguage
EndWTPart~create~wt.part.LoadPart.endCreateWTPart~parentContainerPath

 

Plus IBA attributes 

 

PetrH

akshay_r6-ContributorAuthor
6-Contributor
May 30, 2024

Thanks for your Response, 

Community Moderator
May 30, 2024

Hello @AR_01_10592119,

 

It looks like you have a response from a community member. If it helped you solve your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Community Moderation Team.

d_graham18-OpalAnswer
18-Opal
May 30, 2024

If you really need an iteration note, a note can be added post loadFromFile either via a direct dB edit or it is also possible to add a note using a Java class that uses OOTB Windchill APIs.  And yes, this note can be added without iterating the object,

HelesicPetr
22-Sapphire II
22-Sapphire II
May 30, 2024

Yes, Agree with @d_graham 

It is possible to edit the iteration note by a customization

PetrH