Loading...
Area: Episerver Campaign
Applies to versions: Not applicable

setAttributesByFilter

Recommendations [hide]

Defines new values for specific attributes of all recipients contained in a specific recipient list in Episerver Campaign.

Type: void

Parameters

NameTypeValue

sessionId

String

ID of the session

recipientListId

long

ID of the recipient list

recipientFilterId

long

ID of the recipient

attributeNames

String[ ]

Names of the fields (e.g. firstname, lastname etc.) to be updated

attributeValues

String[ ]

New values for the attributes/fields defined with attributeNames.

Each entry must be formatted according to the formatting rules.

mode

String

For fields of the type String this parameter can be set to:

  • set (overwrite)
  • prepend
  • append
  • For all other types the value is set by default.

Return values

 -

Code structure

void setAttributesByFilter(String sessionId, long recipientListId, long recipientFilterId, String[] attributeNames, String[] attributeValues, String mode)
Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 25, 2018

Recommendations [hide]