Hello,
I tried various hyperlink types in my list and they have all very unusual behavior when using ODBC connection.
1. Hyperlink of type "Block" = no issues when i add &Key58=123 to block name otherwise an error is produced saying : Bad Request,
2. Hyperlink of type "Custom DLL" = dll error,
3. Hyperlink of type "Custom Jump" = query string called Key58 is accepting value of type 'int' only otherwise an error will occure.
I decided to keep it very simple and i created a dll file containing a method calling a simple list only, please see the code below:
public class CustomerSearchPage : Web
{
public override void BuildContents()
{
GetTabs();
AddContent(HTML.Form());
// Customers
List customerList = new List("pegasusCustomers");
VerticalPanel myMainPanel = new VerticalPanel();
myMainPanel.AddAttribute("width", "100%");
myMainPanel.Add(customerList);
AddContent(myMainPanel.ToHtml());
}
}
When this code is used it produces the following error : An error has occurred in a CRM .net customisation. Please contact your vendor to resolve.
The list contains a column/field with hyperlink of type custom dll where dll name, method and ID field of type string is provided.
When a default code is provided:
public CustomerSearchPage()
: base("pegasusCustomerSearch", "pegasusCustomers")
{
this.SavedSearch = true;
//GetTabs("snametabgroup", "customer");
}
it will produce generic dll error when the search button is clicked.
Any suggestions are welcome.