ABBYYFlexiCapture How to change the name of the import file according to the reading result

  • 48 Views
  • Last Post 13 November 2018
  • Topic Is Solved
minoru.Y posted this 02 November 2018

Hello

Could you tell me how to change the name of the import file according to the reading result ?

Situation and requests example

import file name : aaa.pdf

string "bbb" is in the document

I would like to chenge the file name from aaa.pdf to bbb.pff 

Thank you so much for your help

 

Ekaterina posted this 13 November 2018

Hello,

To change the file name you need to know the path to the source file. You can do it using by ImageSource property of the IPage object (see the link: ). Please note that it is "read-only" property. Also you need to extract "bbb" by the IDocument.Field("Your Field name").Text object. Then rename the file by .Net methods

Close