Files List
You can list all files and folders under the datalib directory on the Files page. All columns in the Files table can be filtered, pinned, hidden, and searched.
Searching Files
It is also possible to perform a general search within the entire table and you can use the wildcard (*) character in these searches. Searches without wildcard characters will be searched anywhere.
Navigating Folders
File names that appear in bold in the table indicate directories and those that are not in bold indicate files. When you click on the directories, the files and directories in that directory will be listed. You can navigate between directories using the breadcrumbs section above the table.
Copying Files
If you select a file and click the Copy button, you can copy the file with a new name and file path.
Viewing and Editing File Records
EBP File Viewer & Editor allows you to view, edit, and manipulate files in two distinct modes:
Text Mode: For plain text files with basic editing capabilities
Record Mode: For structured files with advanced record manipulation features
When you open a file, the application automatically detects the file type and displays it in the appropriate mode. The file name is displayed at the top of the interface.
Header Section
File Name: Displays the currently opened file name
Action Buttons:
- Cancel Changes: Discards unsaved modifications
- Save Changes: Saves all modifications to the file
- Undo: Reverses the last action (when available)
- Download File: Downloads the current file to your device
Action Controls (Record Mode Only)
- Action Dropdown: Select from various record manipulation actions
- Dynamic Input Fields: Appear based on the selected action
- Apply Button: Executes the selected action
Text Mode Features
If the file is not a data set file, file content will be displayed in a free text editor and you can save it after making the changes you want. All the files can also be downloaded using the Download File button.
Saving Changes
- Make your edits in the text area
- Click Save Changes to persist modifications
Record Mode Features
Record mode displays data in a structured table with the following columns:
#: Row number
Record: The actual record content
Actions: Edit button
Single Record Actions
Select a row and choose from these actions:
Data Manipulation:
Add: Insert a new blank record after the selected record
Copy (C): Copy the selected record to a different position
Move (M): Move record to a different position
Delete (D): Delete the selected record
Cut: Cut record for later pasting
Paste: Insert previously cut/copied content
Visibility:
Hide (X): Hide the selected record from view
Unhide: Show all previously hidden records
Content Modification:
Repeat (R): Duplicate the record multiple times
Shift Left ((n): Shift record content left by specified amount
Shift Right ()n): Shift record content right by specified amount
Block Actions
For operations on multiple consecutive records:
Move Block (MM): Move a range of records
Copy Block (CC): Copy a range of records
Delete Block (DD): Delete a range of records
Hide Block (XX): Hide a range of records
Cut Block: Cut a range of records
All these actions will be effective automatically.
Required Fields for Block Actions:
End Row: Specify the last row of the block
Target Row (for move/copy): Destination row number
Position: Choose "Before" or "After" target row
Undo Functionality: Reverse recent actions using backup files
Row Selection and Editing
After clicking the edit button for the row, you can make the changes you want and then press the Cancel button to undo your changes or save your changes by clicking the Save button.
Additionally, if you press the down arrow next to a record, you can see the high and low hex values for the record and edit them as well. If a character is non printable in the record it will be seen as a dot(.) character, you can edit the hex values to make any changes needed for these characters.
Visual Indicators
Green Text: Unsaved/new records
Normal Text: Saved, unmodified records
Searching File Records
The file viewer provides powerful search and replace functionality for working with structured data files. You can search for text patterns, navigate through matches, and perform targeted or bulk replacements.
Basic Search
- Location: Find the search field at the top of the data table with a magnifying glass icon
- How to search: Simply type your search term in the search field
- Auto-search: The search activates automatically after you stop typing (100ms delay)
- Minimum length: Search requires at least 4 characters to activate
Search Features
- Case-sensitive: All searches are case-sensitive
- Wildcard support: The system automatically adds wildcards (*) around your search term unless you specify them manually
- Real-time results: See matching records highlighted as you type
- Match counter: View current match position and total matches (e.g., "3/15")
Advanced Search Patterns
Column-Specific Search
You can limit your search to specific columns using these patterns:
Single Column Search:
'searchterm' 5
- Searches for "searchterm" starting at column 5
- Column numbers start from 1
Column Range Search:
'searchterm' 5 10
- Searches for "searchterm" between columns 5 and 10 (inclusive)
- Useful for searching within specific data fields
Manual Wildcard Control
- Default behavior: hello becomes *hello* (matches anywhere)
- Custom wildcards: hel* searches for text starting with "hel"
Navigation Controls
Once you have search results, use these controls:
- Up Arrow (↑): Go to previous match
- Down Arrow (↓): Go to next match
- Match indicator: Shows current position (e.g., "1/5" means first of 5 matches)
- Auto-scroll: Automatically scrolls to highlight the current match
Replace Functionality
Basic Replace
- Enable replace: The replace field becomes active when you have search results
- Enter replacement: Type your replacement text in the "Replace" field
- Choose replace method:
- Replace current match
- Replace all matches
Replace Options
Replace Current Match
- Button: Click the checkmark (✓) button
- Behavior: Replaces only the currently highlighted match
- Navigation: Automatically moves to the next match after replacement
- Staging: Replacements are staged until you save changes
Replace All Matches
- Button: Click the replace-all (
) button
- Behavior: Replaces all instances of the search term throughout the entire document
- Confirmation: System prompts for confirmation before proceeding
- Scope: Affects the entire file, not just the current page
Save Process
Replacements are not immediately applied to the file:
- Staging: Replacements are staged
- Save required: Click "Save Changes" to apply all modifications
- Confirmation: System confirms before applying replace-all operations
Pagination
- Navigate through large files using page controls
- Configurable page size (default: 20 records)
- Page information displayed in the footer
Error Messages
The application provides specific error messages for:
- Invalid row numbers or ranges
- Permission restrictions
- File access problems
- Data validation failures
Security Considerations
User Permissions: Actions are restricted based on user roles
File Access: Only authorized files can be opened
Backup Creation: Automatic backups allows undo functionality
Troubleshooting
Common Issues
Search Not Working
- Ensure search term is at least 4 characters for advanced features
- Check for proper syntax in column-specific searches
- Verify wildcard placement
Actions Disabled
- Check user permissions for the specific action
- Ensure a row is selected when required
- Verify file is not read-only
Save Failures
- Check file permissions
- Ensure adequate disk space
- Verify network connectivity for remote files
0 Comments