Article - CS404425

Creating documents using LoadFromFile command, an icon for Primary Content Appears on version that didn't have Primary Content defined in them in Windchill PDMLink

Modified: 02-Nov-2023   


Applies To

  • Windchill PDMLink 12.0

Description

  • Creating documents using LoadFromFile command, an icon for Primary Content Appears on version that didn't have Primary Content defined in them
    • Steps to Reproduce : 
    1. Load Revision File using command : "Java wt.series.LoadFileBasedSeries C:\temp\revisiontmp.xml -load" 
    2. Update the Document OIR by adding StateBased to the line "<Arg>wt.series.HarvardSeries.StateBased<\Arg>"
    3. Restart Windchill
    4. Update corresponding Lifecycle State to Version Series "Mil Std"
    5. Create document using LoadFromFile command (windchill wt.load.LoadFromFile -u wcadmin -p wcadmin -d "C:\temp\test.xml" -CONT_PATH \"/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=GOLF_CART\") 
    6. You'll notice that every iteration has a Primary Content 
    7. When you click to download it, an error appears 
    1. If Legacy value (-) is to be replaced by normal version A,B.. there is no icon bug on the versions
This is a printer-friendly version of Article 404425 and may be out of date. For the latest version click CS404425