- General Information
- Connecting Third-party Systems
- crossConnect for content systems
- crossConnect for External Editing
- Purpose and usage
- Requirements
- Implementation
- Across XLIFF format
- Across-specific Extensions
- <xliff> Element Attributes
- <file> Element Extensions
- <trans-unit> Element Extension
- Paragraph States
- Paragraph State Flags
- <source> and <target> Element Content
- <bpt> Element Attributes
- <ph> Element Attributes
- <x> Element Attributes
- Across-specific Properties
- Analysis Results
- Sample Files
- Across XLIFF - import, export and segmentation
- Context information
- Exporting best matches in Across XLIFF
- Hyperlinks to XLIFF
- Secure file handling with C#
- Secure file handling with JAVA
- Workflow and vendor configuration
- Sample code - Integrated solution
- Across XLIFF format
- Generic File Connector
- Display Texts
- APIs
- APIs - Technology
- crossTank API v1
- crossTank API v2
- crossTerm API v1
- crossTerm API v2
- crossAPI SI
- Requirements
- Function Return Types
- crossAPI SI and Java
- List of Objects in crossAPI SI
- Sample - transferring checkout files via FileManager
- Sample - VBS
- Text Preprocessing API
Sample - transferring checkout files via FileManager
Sample sequence of function calls
Step | Action | Call |
1 | Create an empty temporary file locally where data result should be streamed. | Result FileManager.CreateFileStream(string ST, string FileName); |
2 | Get path to temporary file. | Result FileManager.GetPathToFile(string ST, string FileGUID); |
3 | Perform checkout into the file created in 1 using path returned by 2 | Result CheckOutManager.CreateCheckOutJob(string ST, string DocumentGuid, int TargetLanguageLcid, string TargetPath); |
4 | Waiting until checkout completes using GetJobStatus calls. A return value will indicate the result.
Expected value: 1 | |
5 | When checkout is done, retrieve the file content using file stream. | Result FileManager.ReadFromFileStream(string ST, string FileGUID, long Position, long Length); |
6 | Do not forget to clean up temporary files afterwards (this does not take place automatically). | Result FileManager.RemoveFileFromServer(string ST, string FileGUID); |