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

Both sides previous revisionPrevious revision
Next revision
Previous revision
engine:import:addattributeresolution [2025/03/04 23:10] Scott Cunliffeengine:import:addattributeresolution [2025/03/04 23:24] (current) – [Example] Scott Cunliffe
Line 15: Line 15:
  
 Volume 100100L6, with a description of an alternate barcode IRM456789012 Volume 100100L6, with a description of an alternate barcode IRM456789012
-<code>AddAttributeResolution(0, (????????????");</code>+<code>AddAttributeResolution(0, "????????????");</code>
  
-===== See Also =====+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.1741129836.txt.gz · Last modified: 2025/03/04 23:10 by Scott Cunliffe