cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Loading versioning file

Highlighted
Sapphire II

Loading versioning file

I have taken the default file based versioning file and swapped the MILSTD section to be first and the Numeric section to be second. Simple cut and paste in the XML editor. But when I go to load the file back into Windchill, I get the following messages.

 

e:\SetupFiles\Versioning>java wt.series.LoadFileBasedSeries xenergy_versioning -load
WARNING: Loading will overwrite existing Series XML.
File-based series XML file was not found or is empty: xenergy_versioning
File-based series XML file could not be loaded: xenergy_versioning

e:\SetupFiles\Versioning>

 

Besides the question of what is wrong with my file or the load command, do I need to actually edit and reload the version file? I want to have Alpha revisions first, then at some point we go to a production release of Numeric versions starting at 0. It is my understanding that the versioning file must be traversed from top to bottom and cannot jump back up higher. The default value  range for the version is set by using Numeric or MILSTD in the OIR. If the Numeric is first, then using MILSTD will restrict you to all alphas as you cannot go to the top of the file to get a Numeric version. Is this correct?

2 REPLIES 2
Highlighted

Re: Loading versioning file

The versioning file entries are only a means of loading to the database table.

Has to be in synch with related properties under wt.series... in wt.properties. 

Search wt.properties for "energy."

 

Study the section in help / CS articles about creating a new series and the related properties.

Highlighted

Re: Loading versioning file

I was looking for an example to upload for you but couldn't find it...  Basically this is what you need to do:

 

  1. Keep the OOTB Versioning file AS IS and just append to it.
  2. Introduce a new series into the file at the end - for example (numeric switching to alpha):

<series name="Business Name Series">
<value>1</value>
<value>2</value>
<value>3</value>
<value>4</value>
<value>5</value>
<value>6</value>
<value>7</value>
<value>8</value>
<value>9</value>
<value>10</value>
<value>22</value>
<value>12</value>
<value>13</value>
<value>14</value>
<value>15</value>
<value>16</value>
<value>17</value>
<value>18</value>
<value>19</value>
<value>20</value>
<value>A</value>
<value>B</value>
<value>C</value>
<value>D</value>
<value>E</value>
<value>F</value>
<value>G</value>
<value>H</value>
<value>J</value>
<value>K</value>
<value>L</value>
<value>M</value>
<value>N</value>
<value>P</value>
<value>R</value>
<value>T</value>
<value>U</value>
<value>V</value>
<value>W</value>
<value>Y</value>
<value>AA</value>
<value>AB</value>
<value>AC</value>
<value>AD</value>
<value>AE</value>
<value>AF</value>
<value>AG</value>
<value>AH</value>
<value>AJ</value>
<value>AK</value>
<value>AL</value>
<value>AM</value>
<value>AN</value>
<value>AP</value>
<value>AR</value>
<value>AT</value>
<value>AU</value>
<value>AV</value>
<value>AW</value>
<value>AY</value>
<value>BA</value>
<value>BB</value>
<value>BC</value>
<value>BD</value>
<value>BE</value>
<value>BF</value>

 

What you will need to do is estimate the highest numeric value you might need and build it into the series.  Then do the same for the alphabetic characters that follow (or vice versa).  When you are ready to go from alpha to numeric in your use case you will need to rev the object one last time and manually type in the number "1".  Then any subsequent rev will suggest the next numeric value in the series.  If you have existing data in your system that you want to switch into this new series that is another complication.  In that case you should modify the series that they are already using so you do not have to deal with switching to a new series.

Announcements