Content Retrieval allows the bxp engine, when it is hoovering in emails, to check the content of the emails for information. If the information is found, the contents can be placed in another field in the form. This allows for detailed extraction of data from a form.
The engine has two parts
* Content Retrieval - Suppress Blanks
* Content Retrieval - Rules
These settings are in the "Inbox - Content" section of the "Advanced Settings" of a Form.
[[File:content_retrieval_001.png|800px]]
bxp software (bxp) has the ability to retrieve emails from an email box and turn them into data records (CDAs) for processing.
"Content Retrieval - Suppress Blanks" provides two options. If a rule is checked for in the incoming email and '''no''' data is found:
* False : the field will be blanked and will be included in the update.
* True : the field for this record will not be included in the update.
As the emails are retrieved it is possible to apply rules to these emails.
"Content Retrieval - Rules" are the rules to be applied. They can be typed in by hand or you can use the very easy to follow rule creator. ''Main Menu > Form Management > Form - Primary Management > Form - Email Rule Management > Choose the Form > ''
Content Retrieval Rules are the set of rules used to interrogate the data in an email and strip out what is required from that content. You can have as many rules as you like and trial and error usually dictate how effective your rules are.
Testing the rules can be complicated so there is a tool to help you test rules and also to update historical records if the rules wern't right in the first place. Details on the tool are available here [[BEmail_Content_Retrieval_Rules_Testing]]
The rules can be managed through ''Main Menu > Form Management > Form - Primary Management > Form - Email Rule Management > Choose the Form > ''
= Format Understanding the Rules =
== Rule Type 1 - Straight Content Retrieval ==
Each rule is in the format
File vmail_0811111111_1401_20120912125202
</syntaxhighlight>
we want to extract the duration data.
The result of this rule will extract 00:00:23 and put it in the field strCDA_X_field_0_0
Please note that if multiple matches are made the solution will only take the first match made.