Mapping

 

 

 

Mapping

 

Description

Extracts the value of a dynamic attribute from a destination mapping line.

 

Arguments

1.Mapping - Name of the Macro.

2.Name - The property value to be copied.

3.Default Value - The value to be used if the property cannot be found or is blank.

4.Search Value - If the returned value matches the search value, the specified default will be returned. The search value and returned value will use casing to determine a match.

 

Examples

[Mapping|Department]

If Department is available this will return the Department value.

If Department is not available this will return a blank value.

 

[Mapping|Department|No department available.]

If Department is available this will return the Department value.

If Department is not available this will return the value "No department available."

 

[Mapping|Department|None|9999]

If Department is available and does not equal 9999 this will return the Department value.

If Department is available and equals 9999 this will return the value "None".

If Department is not available this will return the value "None".

 

Notes

This macro is only available for use in the context of destination output processing and is not available until after mapping lines have been generated by the engine.  Available attributes are specific to each destination and some destinations may not have any attributes at all. Please consult the destination documentation or pasTransfer for information on which attributes are available.  If a case-insensitive comparison is desired between the search value and the returned value use an If macro combined with a Lower or Upper macro.

 


Copyright © 2024 pasUNITY, Inc.

 

Send comments on this topic.



Created with an evaluation copy of HelpSmith.
To remove this notice, you should purchase the full version of the product.