Click or drag to resize
ConstituentsFunctionalAreaConstituentExists Method
Determine if at least a single matching constituent can be found based on the provided search field value and select it. Selects the first returned result, or cancels the search dialog if no results are found.

Namespace: Blackbaud.UAT.Core.Crm
Assembly: Blackbaud.UAT.Core (in Blackbaud.UAT.Core.dll) Version: 1.0.1304.1 (1.0.1304.1)
Syntax
public static bool ConstituentExists(
	string fieldValue,
	string groupCaption = "Constituents",
	string taskCaption = "Constituent search",
	string dialogId = "ConstituentSearchbyNameorLookupID",
	string fieldId = "KEYNAME"
)

Parameters

fieldValue
Type: SystemString
The desired value of the search criteria field.
groupCaption (Optional)
Type: SystemString
The group header caption of the task. Defaults to "Constituents".
taskCaption (Optional)
Type: SystemString
The link caption of the task. Defaults to "Constituent search".
dialogId (Optional)
Type: SystemString
The unique id of the search dialog. i.e. 'UniversityofOxfordConstituentSearch' Defaults to "ConstituentSearchbyNameorLookupID".
fieldId (Optional)
Type: SystemString
The unique id of the search dialog field. i.e. 'LOOKUPID' Defaults to "KEYNAME".

Return Value

Type: Boolean
True if at least one matching element is found, false otherwise.
See Also