コミュニティ

Flexicapture Batch documents naming configuration pattern

Every batch has name, for example (Batch HF_ID1000) this name for me looks like a complete waste of characters.  Can I change/configure this naming pattern somewhere?

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

5件のコメント

  • Avatar
    Permanently deleted user

    I am not sure about changing the default pattern, but you can use a quick script (add a Workflow Stage after scanning, before recognition) to rename the batch after it is imported. Here is an example where we are naming the batch the same as the file name. This is C#. Remember to set a reference to "System" in the .Net References.

     

    using System.IO;

    if (Batch.Documents.Count != 1)

    {

        FCTools.ShowMessage("Non-fatal Error: Expecting 1 document, " + Batch.Documents.Count + " found. Batch will be named by the first document");

    }

    string newName = Path.GetFileNameWithoutExtension(Batch.Documents[0].Pages[0].ImageSource);

    FCTools.ShowMessage("Changing batch name from '" + Batch.Name + "' to '" + newName + "'");

    Batch.Name = newName;

    FCTools.ShowMessage("Batch name successfully changed");
    0
  • Avatar
    Anand Babu M

    Is this working???

    0
  • Avatar
    Permanently deleted user

    @... i tried to do this, but after that files are not even processing,
    i tried to add the same stage as recognize, is there a specific type of the stage needs to be added?

    0
  • Avatar
    Adrian Enders

    Yes, you need to add a "Script" stage. When you add the stage select "Automatic". Do not select any child under "Automatic". Select "Automatic". It's a script stage. 

    1
  • Avatar
    Permanently deleted user

    I will try this, thank you:)

     

    0

サインインしてコメントを残してください。