Hi,
Is it possible to map a service method field to more than one property in a method:
E.G. I would like to have the value of one property value returned from a service method to be mapped to 2 different fields as like the following SQL Statement:
SELECT UserID as [Key], UserName as [Value], UserID as [DisplayColumn1], Email as [DisplayColumn2], CellNo as [DisplayColumn3] FROM Users
SELECT PaymentID as [Key], PaymentNumber as [Value], PaymentNumber as [DisplayColumn1], PaymentValue as [DisplayColumn2], PaymentDate as [DisplayColumn3] FROM Payments
The reason I ask is that I want a generic details view of various SmartObjects. I tried creating one method which calls the GetList method of the same SmartObject twice but when I run the call to the method I get the following error ("An item with the same key has already been added").
Regards
Mike