コミュニティ

Conditional export of certain fields through scripting 回答済み

Hello,

Is there any way to define which fields get exported programmatically through scripting?

Something similar to the example below.

{if the value of 'FieldA' > 10 then export

else dont export}

Thanks!

 

 

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

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

コメント

2件のコメント

  • Avatar
    Vladimir Dimitrijević

    Hi,

    As far as I know, default export cannot help for this requirement. You would need to create additional automatic stage, type of Batch processing, and code a script there- connect to database, insert data, close connection...
    You could even code in your preferable IDE and import dll to ABBYY FC- if it is easier for you, of course.

    To access field from workflow stage script:
    decimal fieldA = Convert.ToDecimal(Document.Field(@"Invoice Layout\FieldA").Text);

    Best regards,
    Vladimir

    1
  • Avatar
    Permanently deleted user

    Thanks, Vladimir!

    0

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