Error: The specified page could not be loaded. Data form could not be loaded. Error converting data type number to uniqueidentifier - When creating a hyperlink to a constituent record from page designer

When creating a hyperlink to a constituent record from page designer users may receive the error:  "The specified page could not be loaded. Data form could not be loaded. Error converting data type number to uniqueidentifier." This occurs when creating a hyperlink to be used in a list of constituents where there is a Lookup ID column and the Lookup Id needs to be a hyperlink that upon being clicked will go to the constituent record.
This functionality can be added via Design Mode with the below steps:

1. Go to the page that contains the list of constituents that has Lookup ID as one of the columns where a hyperlink is desired for the Lookup ID
2. Make sure you are in design mode 
3. Click the Edit actions button above the section that contains the Lookup ID
4. Click the Add button at the top of the form that comes up which allows a new task to be created for the section.
5. Enter the following fields: 
- Caption: Go to constituent (or whatever caption you want) 
- ShowCaptionOnToolbar: True
- DefaultAction: True 

- Enabled: True
- LinkFieldID: Lookup ID
- ActionType: ShowPage 
- Page: Constituent Page 
- ContextType: SectionField 
- SectionField: Lookup ID

6. Click OK to save these changes
7. On the data list, add an output field of System record ID and link that to the SectionField in the action area.

Steps to Duplicate

1. Go to the page that contains the list of constituents that has Lookup ID as one of the columns. 
2. Notice that there is no hyperlink to the constituent record currently for the Lookup ID when it is selected
 

Environment

 Blackbaud CRM
 4.0
 4.0.155.0 SP5

Was this article helpful?