Skip to main content
Skip table of contents

Whole file masking

You can now configure the masking engine to mask the complete file and pass the content of that file as a single input to an algorithm.

Pre-requisites

  • You must create a fixed-width file connector.

  • You must create a Rule Set that has:

    1. Only one field.

    2. Of Length 0.

For more information, see Managing connectors, Managing file formats, and Managing rule sets.

Masking a whole file

Perform the following procedure to mask a whole file.

  1. Navigate to Environments > Rule Set.

  2. Click the Actions (…) drop-down to the right of a rule set on the rule set screen, and then select the Edit option.

  3. In the rule set wizard's second step "Data Files", you can select one or more files or regular expression patterns either by clicking on the checkboxes or by clicking anywhere on the rows.

  4. Click on the “Edit Selected” button, located on top of the grid.

  5. The Edit File Properties dialog appears.

    image-20240213-221417.png
  6. From the Select File Format drop-down, select a file format that has only one field defined in it. Selecting any other file format will result in an error.

  7. Select the Mask whole file checkbox to enable whole file masking.
    Selecting this option will make the "End of Record Field" disappear. This configuration is no longer necessary because the masking engine will now read the entire file and send it to the algorithm.

    Note:
    Masking the whole file is applicable only for:

    • Files that are less than 200 MB in size. However, you can modify this limit via API by configuring Whole File Masking Max File Size In MB key in the Application Settings.

    • The file format that has only one field defined in it. The masking whole file is applicable only for: Files that are less than 200 MB in size. However, you can modify this limit via API by configuring Whole File Masking Max File Size In MB key in the Application Settings. File format that has only one field defined in it.

  8. Click on Save.

  9. Navigate to inventory screen for the above ruleset, and click on Edit File Format button.

  10. The Add Record Types, Add Fields, and Delete options will not be available.

    image-20240213-215226.png
  11. Click the Actions (…) drop-down to the right of a field on the inventory screen, and then select the Edit option.

  12. From the Algorithm drop-down list, select the matching extended algorithms that must be applied to the file.

    Note: You can not modify/update the length and position for the single field defined in the respective file format if you enable the Mask whole file option in the rule set screen.

    image-20240213-220428.png
  13. Click Save.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.