Difference between revisions of "MetaData - Processing Rules - Data Conversion"

From All n One's bxp software Wixi

Jump to: navigation, search
(Created page with "= Overview = For more information on {| class="wikitable" ! Area ! Link |- | MetaData please refer here || MetaData_-_Start_Here |- | Processing rules please refer here...")
 
(Convert Data field)
 
Line 47: Line 47:
  
  
 +
Example (with replacement values):
 +
<syntaxhighlight lang="xml">
 +
Convert_Data_Field[[-SEP-]]1[[-SEP-]]strCDA_1_field_0_1[[-SEP-]]test[[-SEP]]strCDA_2_field_0_1[[-SEP-]]2[[-SEP-]]strCDA_2_field_0_2[[-SEP-]]2[[-SEP-]]strCDA_2_field_0_3[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]
 +
</syntaxhighlight>
 
 
 +
 
== Convert Form Id ==
 
== Convert Form Id ==
  

Latest revision as of 10:22, 20 February 2017

1 Overview

For more information on

Area Link
MetaData please refer here MetaData_-_Start_Here
Processing rules please refer here MetaData_Process_Rules
Parameter construction please refer here MetaData_Program_and_Outcomes

2 Reference

This wixi article is meant to serve as a reference guide to a subset of MetaData Processing Rules.


3 Rules

3.1 Convert Data field

There may be CampaignList or CampaignSearch type fields with the databases where cross campaign field translation would be required to link a parent record with a child record.


Required fields to execute rule:

  1. Rule Name
  2. Form id (the same as the current sequence)
  3. Destination field
  4. Form Id contains the search values
  5. Fields that contain the search values
  6. Form Id to search in
  7. Fields to search in
  8. Form Id to get return values
  9. Return value fields


Example:

Rule Name[[-SEP-]]Form Id[[-SEP-]]Destination Fields[[-SEP-]]Form Id values[[-SEP]]Fields containing values[[-SEP-]]Form Id To Search[[-SEP-]]Fields containing values[[-SEP-]]Form Id return values[[-SEP-]]Fields with Return values[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]


Example (with replacement values):

Convert_Data_Field[[-SEP-]]1[[-SEP-]]strCDA_1_field_0_1[[-SEP-]]test[[-SEP]]strCDA_2_field_0_1[[-SEP-]]2[[-SEP-]]strCDA_2_field_0_2[[-SEP-]]2[[-SEP-]]strCDA_2_field_0_3[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]

3.2 Convert Form Id

The convert form Id rule allows for the conversion of a form Id to be converted to any piece of information in the campaign table


Required fields to execute rule:

  1. Rule Name
  2. Field in the campaign table to return
  3. Destination field
  4. Field with the search value
  5. Form id (the same as the current sequence)


Example:

Convert_FormId_FormField[[-SEP-]]Field to return[[-SEP-]]Destination field[[-SEP-]]Search value[[-SEP-]]form id[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]


Example (with replacement values):

Convert_FormId_FormField[[-SEP-]]strCampaign_Name[[-SEP-]]strCDA_1_field_0_1[[-SEP-]]strCDA_1_field_0_2[[-SEP-]]1[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]] 


3.3 Convert Client Id

The convert client Id rule allows for the conversion of a clients Id to be converted to any piece of information in the client table

Required fields to execute rule:

  1. Rule Name
  2. Field in the campaign table to return
  3. Destination field
  4. Field with the search value
  5. Form id (the same as the current sequence)


Example:

Convert_FormId_FormField[[-SEP-]]Field to return[[-SEP-]]Destination field[[-SEP-]]Search value[[-SEP-]]form id[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]


Example (with replacement values):

Convert_ClientId_ClientField[[-SEP-]]strClient_CompanyStaffIdNumber[[-SEP-]]strCDA_1_field_0_1[[-SEP-]]strCDA_1_field_0_2[[-SEP-]]1[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]