Hi there i have an associated view and currently when i double clicking a record the entity defined for the assoicated view is opened (which is the normal behavior).
however,i want to change the current behavior and open a window of another entity.
what i did is in the retrievemultiple post message i did the following example
var outputValues =(BusinessEntityCollection) context.OutputParameters.Properties["BusinessEntityCollection"]; outputValues.BusinessEntities.Clear();
var recordsList = newList<BusinessEntity>();
var gridRecord = newDynamicEntity("newEntity"); gridRecord.Properties.Add(
newUniqueIdentifierProperty("newEntityid",newUniqueIdentifier(newGuid(("8FCCA81C-2EB7-49CD-99AC-0001854EB0C")))));
gridRecord.Properties.Add(newStringProperty("SomeProp","SomeValue"))); recordsList.Add(gridRecord);
outputValues.BusinessEntities.AddRange(recordsList);
*********************
the grid is populated with the new record however double clicking doesnt open the new entity form and not firing the retrieve message of the new entity.
any ideas how to do it?
thanks in advance