Convert Table item in to List of KeyValuePair string, Decimal in Abbyy Flexicapture - Manoj Jha

Manoj Jha

Robotic Process Automation, Abbyy Flexicapture, Python, JavaScript, C#. Machine learning and Data Science

Convert Table item in to List of KeyValuePair string, Decimal in Abbyy Flexicapture

Share This

 This post will be helpful in the situation where you want to play around with your extracted table using repeating group elements in Abbyy Flexicapture. In my last post, you can check How to capture table using repeating group element in Abbyy Flexilayout. So after capturing the table in Flexilayout you'd import the export .afl file from Abbyy Flexilaout and import it in the Document definition of Abbyy Flexicapture. 

Now when you test run your document definition you'll see the data extracted in the two fields of repeating group field name Table. Those two fields' names will be item description and item amount. Now suppose you want to export your table item only in one field instead of using a repeating group field with multiple line data. So how you'll do that?

That is where you can try converting your data into a List of KeyValuePair using C# code and finally export that list into one field.

Lets see that in code. So in this code I am assuming you have two table field one is your description column the other is the amount column.

For more detail you can check Microsoft_DOC 


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

If the post was helpful to you, Please donate us so we can create more useful content

Support by Donate

Pages