TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:addattributeresolution

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
engine:import:addattributeresolution [2025/03/04 22:57] – created Scott Cunliffeengine:import:addattributeresolution [2025/03/04 23:24] (current) – [Example] Scott Cunliffe
Line 1: Line 1:
 ====== AddAttributeResolution ====== ====== AddAttributeResolution ======
  
 +Used with the program TMSS10Reconcile, a Volume's attribute value can be compared with the supplied string to identify that Volume's barcode.  Allowing you to run a reconciliation using a Volume's attribute value instead of the barcode value.
 +
 +
 +===== Phase =====
 +
 +AddAttributeResolution(attribute index, attribute filter);
 +
 +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^
 +|attribute index| String | The attribute index number for comparison |1|256|
 +|attribute filter| String | The attribute filter for comparison |1|256|
 +
 +===== Example =====
 +
 +Volume 100100L6, with a description of an alternate barcode IRM456789012
 +<code>AddAttributeResolution(0, "????????????");</code>
 +
 +If the input has several different format alternate attributes, it is possible to use AddAttributeResolution to map the Volume's barcode from a selection of different attribute indexes.
 +
 +Assuming the input values are three different length strings depending on the format, filters can be used to refer to different attribute indexes.
 +
 +For any 12 character string, map to index 0
 +For any 8 character string, starting with JX map to index 1
 +All other 8 character strings map to index 2
 +All other strings map to index 3
 +
 +<code>
 +AddAttributeResolution(0, "????????????");
 +AddAttributeResolution(1, "JX??????");
 +AddAttributeResolution(2, "????????");
 +AddAttributeResolution(3, "*");
 +</code>
 +
 +
 +===== See Also =====
 +
 +[[engine:import|Import Engine Functions]] \\
 +[[cli:sync_fields|Sync Engine Fields]] \\
 +
 +{{tag> import_engine sync_engine ttidef}}
  
  
engine/import/addattributeresolution.1741129033.txt.gz · Last modified: 2025/03/04 22:57 by Scott Cunliffe