Difference between revisions of "The -- field notation for bxp Forms"

From All n One's bxp software Wixi

Jump to: navigation, search
Line 29: Line 29:
 
We need to create our email.... so we say:
 
We need to create our email.... so we say:
  
''
 
Hello --strCDA_6_field_0_1--,
 
  
Thank you for calling today.  We hope you enjoyed your experience.
 
  
Please call again soon.
+
''Hello --strCDA_6_field_0_1--,''
 +
 
 +
''Thank you for calling today.  We hope you enjoyed your experience.''
 +
 
 +
''Please call again soon.''
 +
 
 +
''Kind regards''
 +
''bxp software''
  
Kind regards
 
bxp software''
 
  
  
Line 45: Line 47:
  
 
You can reuse the same field numerous times in the same email... all replacements will be made.
 
You can reuse the same field numerous times in the same email... all replacements will be made.
 +
 +
Now we just pop it where it can be used.
 +
 +
 +
== Locations that support the -- replacement notation ==
  
  

Revision as of 20:17, 30 June 2014

1 Introduction

When using a form in bxp software (bxp), there are times you will need to dynamically replace content. This most often seen in the external and intra communications processes used in an outcome.


For example, you wish your outcome to send a text message that dynamically pulls information from the current record and puts it into the body of the message.


This is possible through the -- notation and using field mapping.


For more information on field mapping: Understanding_Field_Mapping and field mapping management: Form_-_Field_Mapping_Management


2 Worked example

Say for example our Form Id is 6. We use the field mapping table to figure out what field we want to replace.

File:fieldmapping 08.png


In this case, let's say we want the customers First Name, which is in field strCDA_6_field_0_1


So we want our email to pull whatever is in field strCDA_6_field_0_1 and put it into our email.


We need to create our email.... so we say:


Hello --strCDA_6_field_0_1--,

Thank you for calling today. We hope you enjoyed your experience.

Please call again soon.

Kind regards bxp software


We use the -- notoation with the field name in order to do the replace.

This replacement can be done with as many fields as you like.

You can reuse the same field numerous times in the same email... all replacements will be made.

Now we just pop it where it can be used.


3 Locations that support the -- replacement notation