|
Guides (SDK /API) | Technical Reference | BBDN | How-to Documentation |
Code sample project: Custom Individual (Blackbaud CRM Constituent) Search
Open your Parts project in Visual Studio. This example uses a project called SearchPartExample created according to these steps: Create a Custom Parts Project. The project should contain a custom part created according to these steps: Create a Custom Constituent Search (Design).
Open CustomSearchFormEditor.ascx for editing in Designer.
Delete the label that contains this text: "This part does not have any design time options"
Add a break.
Create the interface for the form's configuration options. The options are constituencies on which to filter:
Add a RadioButtonList.
From the list tasks menu, select Edit Items. The ListItem Collection Editor screen appears.
Note: This is only to add some defaults so that the editor form shows something in the IDE. The members of the collection will be populated dynamically based on Infinity constituencies retrieved with the Infinity web API.
Click Add. A new member of the collection is added.
From Text, enter Board member.
Add members for Donor, Fundraiser, and Volunteer.
Click OK.
Add text that explains the options:
Select constituency on which to filter the individual search.
Save CustomSearchFormEditor.ascx.