 | 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.CrmAssembly: Blackbaud.UAT.Core (in Blackbaud.UAT.Core.dll) Version: 1.0.1304.1 (1.0.1304.1)
Syntaxpublic static bool ConstituentExists(
string fieldValue,
string groupCaption = "Constituents",
string taskCaption = "Constituent search",
string dialogId = "ConstituentSearchbyNameorLookupID",
string fieldId = "KEYNAME"
)
Public Shared Function ConstituentExists (
fieldValue As String,
Optional groupCaption As String = "Constituents",
Optional taskCaption As String = "Constituent search",
Optional dialogId As String = "ConstituentSearchbyNameorLookupID",
Optional fieldId As String = "KEYNAME"
) As Boolean
public:
static bool ConstituentExists(
String^ fieldValue,
String^ groupCaption = L"Constituents",
String^ taskCaption = L"Constituent search",
String^ dialogId = L"ConstituentSearchbyNameorLookupID",
String^ fieldId = L"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:
BooleanTrue if at least one matching element is found, false otherwise.
See Also