TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:addtranslationfromfile

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:addtranslationfromfile [2020/02/24 01:05] Scott Cunliffeengine:import:addtranslationfromfile [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 9: Line 9:
 ''AddTranslationFromFile(field, filterfile, translation);'' ''AddTranslationFromFile(field, filterfile, translation);''
  
-//string field;//\\ +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
-//string filterfile;//\\ +|field| String | The field to be translated.|1|128
-//string translation;//\\ +|filterfile | String | A file containing filter values to compare against the current field value.|1|256
- +|translation| String | The new value of the field. This can either be a new literal value, or the original value with a prefix or suffix.|1|256|
-|field| The field to be translated.| +
-|filterfile |A file containing filter values to compare against the current field value.| +
-|translation| The new value of the field. This can either be a new literal value, or the original value with a prefix or suffix.|+
  
 <notetip>See the notes section for [[engine/import/addtranslation|AddTranslation]].</note> <notetip>See the notes section for [[engine/import/addtranslation|AddTranslation]].</note>
  
 ===== Example ===== ===== Example =====
-**AddTranslation2FromFile: Append L3 to each VOLUME field if the value matches a pattern within a record of c:\data\LTO3Volumes.txt.** + 
-|AddTranslationFromFile(VOLUME, "c:\data\LTO3Volumes.txt", "*L3");|+Append L3 to each VOLUME field if the value matches a pattern within a record of c:\data\LTO3Volumes.txt. 
 + 
 +<code> 
 +AddTranslationFromFile(VOLUME, "c:\data\LTO3Volumes.txt", "*L3"); 
 +</code> 
 + 
 +===== See Also ===== 
 + 
 +[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]]
  
 {{tag> import_engine sync_engine}} {{tag> import_engine sync_engine}}
engine/import/addtranslationfromfile.1582506307.txt.gz · Last modified: 2025/01/21 22:07 (external edit)