Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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
Solved! Go to Solution.
If that's what is being used then that is the series that will need to be updated to include the alpha revisions.
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
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
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:
Information about setting up the file-based scheme is located here:
Hey Lori,
I meant what to use for <xml_file>? That is what I cannot locate. Where are the xml files stored?
thanks
Sorry... that can be anything. The XML file will get created when you use the -read flag.
It could be something like
java wt.series.LoadFileBasedSeries d:\temp\filebasedseries.xml -read
Hey Lori,
I have attached my filebasedseries.xml file here. Can you have a look and tell me if it possible? It shows alphabet letters but I dont think I can use those???
<?xml version="1.0" encoding="UTF-8"?>
<scheme>
<series name="StateBased">
<seed name="NUMERIC">
<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>11</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>21</value>
<value>22</value>
<value>23</value>
<value>24</value>
<value>25</value>
<value>26</value>
<value>27</value>
<value>28</value>
<value>29</value>
<value>30</value>
<value>31</value>
<value>32</value>
<value>33</value>
<value>34</value>
<value>35</value>
<value>36</value>
<value>37</value>
<value>38</value>
<value>39</value>
<value>40</value>
<value>41</value>
<value>42</value>
<value>43</value>
<value>44</value>
<value>45</value>
<value>46</value>
<value>47</value>
<value>48</value>
<value>49</value>
<value>50</value>
<value>51</value>
<value>52</value>
<value>53</value>
<value>54</value>
<value>55</value>
<value>56</value>
<value>57</value>
<value>58</value>
<value>59</value>
<value>60</value>
<value>61</value>
<value>62</value>
<value>63</value>
<value>64</value>
<value>65</value>
<value>66</value>
<value>67</value>
<value>68</value>
<value>69</value>
<value>70</value>
<value>71</value>
<value>72</value>
<value>73</value>
<value>74</value>
<value>75</value>
<value>76</value>
<value>77</value>
<value>78</value>
<value>79</value>
<value>80</value>
<value>81</value>
<value>82</value>
<value>83</value>
<value>84</value>
<value>85</value>
<value>86</value>
<value>87</value>
<value>88</value>
<value>89</value>
<value>90</value>
<value>91</value>
<value>92</value>
<value>93</value>
<value>94</value>
<value>95</value>
<value>96</value>
<value>97</value>
<value>98</value>
<value>99</value>
</seed>
<seed name="MILSTD">
<value>-</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>
</seed>
</series>
<series name="atlasseries">
<value>IMPORTED</value>
<value>P01</value>
<value>P02</value>
<value>P03</value>
<value>P04</value>
<value>P05</value>
<value>P06</value>
<value>P07</value>
<value>P08</value>
<value>P09</value>
<value>P10</value>
<value>000</value>
<value>001</value>
<value>002</value>
<value>003</value>
<value>004</value>
<value>005</value>
<value>006</value>
<value>007</value>
<value>008</value>
<value>009</value>
<value>010</value>
<value>011</value>
<value>012</value>
<value>013</value>
<value>014</value>
<value>015</value>
<value>016</value>
<value>017</value>
<value>018</value>
<value>019</value>
<value>020</value>
<value>021</value>
<value>022</value>
<value>023</value>
<value>024</value>
<value>025</value>
<value>026</value>
<value>027</value>
<value>028</value>
<value>029</value>
<value>030</value>
<value>031</value>
<value>032</value>
<value>033</value>
<value>034</value>
<value>035</value>
<value>036</value>
<value>037</value>
<value>038</value>
<value>039</value>
<value>040</value>
<value>041</value>
<value>042</value>
<value>043</value>
<value>044</value>
<value>045</value>
<value>046</value>
<value>047</value>
<value>048</value>
<value>049</value>
<value>050</value>
<value>051</value>
<value>052</value>
<value>053</value>
<value>054</value>
<value>055</value>
<value>056</value>
<value>057</value>
<value>058</value>
<value>059</value>
<value>060</value>
<value>061</value>
<value>062</value>
<value>063</value>
<value>064</value>
<value>065</value>
<value>066</value>
<value>067</value>
<value>068</value>
<value>069</value>
<value>070</value>
<value>071</value>
<value>072</value>
<value>073</value>
<value>074</value>
<value>075</value>
<value>076</value>
<value>077</value>
<value>078</value>
<value>079</value>
<value>080</value>
<value>081</value>
<value>082</value>
<value>083</value>
<value>084</value>
<value>085</value>
<value>086</value>
<value>087</value>
<value>088</value>
<value>089</value>
<value>090</value>
<value>091</value>
<value>092</value>
<value>093</value>
<value>094</value>
<value>095</value>
<value>096</value>
<value>097</value>
<value>098</value>
<value>099</value>
<value>100</value>
<value>101</value>
<value>102</value>
<value>103</value>
<value>104</value>
<value>105</value>
<value>106</value>
<value>107</value>
<value>108</value>
<value>109</value>
<value>110</value>
<value>111</value>
<value>112</value>
<value>113</value>
<value>114</value>
<value>115</value>
<value>116</value>
<value>117</value>
<value>118</value>
<value>119</value>
<value>120</value>
<value>121</value>
<value>122</value>
<value>123</value>
<value>124</value>
<value>125</value>
<value>126</value>
<value>127</value>
<value>128</value>
<value>129</value>
<value>130</value>
<value>131</value>
<value>132</value>
<value>133</value>
<value>134</value>
<value>135</value>
<value>136</value>
<value>137</value>
<value>138</value>
<value>139</value>
<value>140</value>
<value>141</value>
<value>142</value>
<value>143</value>
<value>144</value>
<value>145</value>
<value>146</value>
<value>147</value>
<value>148</value>
<value>149</value>
<value>150</value>
<value>151</value>
<value>152</value>
<value>153</value>
<value>154</value>
<value>155</value>
<value>156</value>
<value>157</value>
<value>158</value>
<value>159</value>
<value>160</value>
<value>161</value>
<value>162</value>
<value>163</value>
<value>164</value>
<value>165</value>
<value>166</value>
<value>167</value>
<value>168</value>
<value>169</value>
<value>170</value>
<value>171</value>
<value>172</value>
<value>173</value>
<value>174</value>
<value>175</value>
<value>176</value>
<value>177</value>
<value>178</value>
<value>179</value>
<value>180</value>
<value>181</value>
<value>182</value>
<value>183</value>
<value>184</value>
<value>185</value>
<value>186</value>
<value>187</value>
<value>188</value>
<value>189</value>
<value>190</value>
<value>191</value>
<value>192</value>
<value>193</value>
<value>194</value>
<value>195</value>
<value>196</value>
<value>197</value>
<value>198</value>
<value>199</value>
<value>200</value>
<value>201</value>
<value>202</value>
<value>203</value>
<value>204</value>
<value>205</value>
<value>206</value>
<value>207</value>
<value>208</value>
<value>209</value>
<value>210</value>
<value>211</value>
<value>212</value>
<value>213</value>
<value>214</value>
<value>215</value>
<value>216</value>
<value>217</value>
<value>218</value>
<value>219</value>
<value>220</value>
<value>221</value>
<value>222</value>
<value>223</value>
<value>224</value>
<value>225</value>
<value>226</value>
<value>227</value>
<value>228</value>
<value>229</value>
<value>230</value>
</series>
</scheme>
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.
Hey Lori, I know the only one being used is the atlasseries for EPM Documents....
Buddy
If that's what is being used then that is the series that will need to be updated to include the alpha revisions.
Thanks Lori I will give it a try on my test system and see how it goes.
Take care,
Buddy
Hey Lori, I had one more question. I tested this and it worked well, but I have another question. Could this alphabetical version list be inserted in the middle of the existing scheme list. There is a requirement to be able to set the aplha first, then at a later time set it to numeric? Any thoughts?
Thanks,
Buddy
Adding the revisions to the middle of the series may potentially cause sort ordering issues (i.e. incorrect versions listed as latest) especially if later versions in the series are already in use. At this point it is probably best to open a case to get further assistance with that as there are some tools that may be used to correct it.
In general, though, it's always a tricky business updating versioning schemes once they're implemented, and we don't generally recommend it.
Lori,
I have a related question. I am in the process of instituting PDM Essentials for my organization. I want to use the MILSTD. First, where do I discover what our system is set to, and how do I change it?
Second, it seems that what we have now is this:
First Check in: -.1 (In Work)
Iterate: -.2, -.3 (In Work)
Revise: A.1 (Released)
Iterate: A.2, A.3 (In Work)
Revise: B.1 (Released)
Iterate: B.2, B.3 (In Work)
I'd rather it do this:
First Check in: -.1 (In Work)
Iterate: -.2, -.3 (In Work)
Revise: A (Released)
Iterate: A.1, A.2 (In Work)
Revise: B (Released)
Iterate: B.1, B.2 (In Work)
I especially want released drawings to show just a letter, not a letter plus an iteration, and I'd rather not have to do this by making the drawing revision a note instead of a displayed parameter.
Can I do this, and if so, how?
Regards,
Eric
What versioning scheme is specified in the OIRs for the object types you're working with?
I don't think that you can display just the revision for Released objects out of box. Perhaps with some sort of customization?