How to Customize EntityGrid Eservice

Sep 17, 2009 at 7:34 AM
Edited Sep 21, 2009 at 4:40 PM

Hello people,

 I want to customize the CRM eservice portal with the Architecture and Extensibility guide.

The first part of the is ok but if i want to show the data i get errors.

The error are in the steps "Adding an EntityEditor User Control"

Are i missing a part of the installation guide?

 

 

Sep 21, 2009 at 5:39 PM

What meens this part of the guide

Next we need to set some properties in the code behind.  We need to check to see if an “id” parameter was passed in the query string.  This will determine whether or not the control display an update or create form.  If an id was passed to the page, we will set the EntityId property on the EntityEditor control.

string id = Request.QueryString["id"];

 

if (!String.IsNullOrEmpty(id))

{

    oppEditor.EntityId = new Guid(id);

}

We will also need to set the EntityName property on the EntityGrid control.

oppEditor.EntityName = EntityName.opportunity.ToString();

 

Sep 23, 2009 at 12:26 PM
Edited Sep 23, 2009 at 2:56 PM

Attributes of type UniqueIdentifier are unable to be displayed in the EntityEditor control.


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NotImplementedException: Attributes of type UniqueIdentifier are unable to be displayed in the EntityEditor control.

Source Error:


Line 643:
Line 644:   default:
Line 645:    throw new NotImplementedException(
Line 646:     String.Format("Attributes of type {0} are unable to be displayed in the EntityEditor control.",
Line 647:      attributeData.AttributeType.Value.ToString()));