Flexilayout Output Named Parameters

  • 727 Views
  • Last Post 29 May 2019
DusanS posted this 13 August 2018

Hi,

I would like to use this functionality described in your online help:

The value of the registration parameter can be used when applying a FlexiLayout. The registration parameter can be passed to the input of both the main and an additional FlexiLayout. To do this, the input named parameter of the FlexiLayout in ABBYY FlexiLayout Studio must be of the String type and its name must match the name of the registration parameter of the document in ABBYY FlexiCapture.

 

References are here:

http://help.abbyy.com/en-us/flexicapture/12/distributed_administrator/reg_params

http://help.abbyy.com/en-us/flexicapture/12/flexilayout_studio/namedparam_functions

 

I have created FLS with:

SetOutputParameterString in Blocks section

 

and 

GetNamedParameterString in Element section

I have used the same property name in document properties section as in FLS as Named Value

 

Conclusion:

No value was retreived to FLS from Document Property during recognition stage execution (GetNamedParameterString)

No Document Property value was set from FLS after recognition stage execution(SetOutputParameterString)

 

As I understood these FLS functions should be used in order to read or set document properties. Am I Right? If Yes, which FC version supports that?

 

Thank you!

 

Order By: Standard | Newest | Votes
Ekaterina posted this 22 August 2018

Hello,

Please describe how you want to use the named registration parameters in your scenario?

Hitesh Modi posted this 01 April 2019

Hi Ekaterina,

I am also in similar scenario. My scenario is my batches are created through Image Import Profiles, I have added three source folders to scan. I set a mandatory Registration Parameter "Param1" while scanning, and the value is set to "Folder1", "Folder2" and "Folder3" respectively for different folder. Now I need to use this parameter "Param1" in my FlexiLayout "Advanced PreSearch Condition" to restrict the recognition of some of my element. 

I have added code like :

If GetNamedParameterString("Param1").Compare("Folder1") == 0  then DontFind;

I have also added NamedParameter in FlexiLayout with same name "Param1" of Type String (as mentioned in the docs).

But when I update the FlexiLayout in FlexiCapture and put a file in Folder1, the element is still getting recognized.

I am using Abbyy11.

Ekaterina posted this 29 May 2019

Hello,

Please send your FC|FLS projects, scenario description and sample images to the regional support. The scenario is required more deeper investigation then forum allows.

Close