Skip to main content
1-Visitor
October 18, 2013
Solved

Add aplhabetical version to existing versioning scheme

  • October 18, 2013
  • 14 replies
  • 6528 views

To all,

We have a requirement to use alphabetical versions on rare occasions due to an existing process from configuration management. I would like to know how to add alphabetical version to my existing numeric versioning scheme. The guides are a little cryptic as usuall, and I was wondering if someone out there had an idea of how to do this.

Thanks to all in advance,

Buddy Hudson

Best answer by LoriSood

If that's what is being used then that is the series that will need to be updated to include the alpha revisions.

14 replies

23-Emerald II
October 18, 2013

Bryan,

I assume you're using regular file-based versioning and not using alpha when set to a particular state (state-based versioning)? If the latter, you can add the alpha revisions to the end of the versioning scheme.

Once they have been added to the XML you just need to load it back into the system:

To read the current series perform the following in a windchill shell:

java wt.series.LoadFileBasedSeries <xml_file> -read

where <xml_file> is the absolute file path of the file in which the loaded content is placed.

Modify the scheme as needed

Load the modified xml file by executing the following command from a Windchill Shell:

java wt.series.LoadFileBasedSeries <xml_file> -load

1-Visitor
October 21, 2013

Hey Lori and thanks for the response,

I am fairly sure I am using file-based. The next question is where do I find the xml files? Is the OIR the correct place to look? I just have not looked at this since me migrated 01/12 and its a little fuzzy.

Buddy

23-Emerald II
October 21, 2013

The OIR will tell you which schema is being used by that particular object type. However, to get the XML file that includes the versioning scheme info you have to run the command I gave you above in a windchill shell on the server:

java wt.series.LoadFileBasedSeries <xml_file> -read

Once you have added the necessary revisions to the end of the scheme you then load it back into the windchill system:

java wt.series.LoadFileBasedSeries <xml_file> -load


This information can be found in the Windchill help:

http://www.ptc.com/cs/help/windchill_hc/wc101_hc/index.jspx?id=ObjRulesChp_XMLVersionFileLoad&action=show

Information about setting up the file-based scheme is located here:

http://www.ptc.com/cs/help/windchill_hc/wc101_hc/index.jspx?id=ObjRulesChp_FileBasedScheme&action=show

23-Emerald II
October 21, 2013

Hi Bryant,

It looks like this file includes a state-based scheme, which includes a numeric series and the mil std series. That allows you to change the versioning from numeric to alpha based on the state of an object.

You also have an atlasseries series defined, which has a few alpha-numeric versions, but mostly numeric versions included in that scheme.

You need to check the OIR of the object type to find out which versioning scheme is currently being used in order to determine how this should be updated.

1-Visitor
October 21, 2013

Hey Lori, I know the only one being used is the atlasseries for EPM Documents....

Buddy

LoriSood23-Emerald IIAnswer
23-Emerald II
October 21, 2013

If that's what is being used then that is the series that will need to be updated to include the alpha revisions.