apollo7
asked on
CRM 2011 Add a MsgBox to replace an Error Message
I have an error message that pops up when a user tries to add more characters to a description field than the limit allows. The error is:
If I click Download Log File and read the error, it states:
How do I read the error specifically [Nextgen.Plugin.ProcessPro jectionFro mLineItem: Update of opportunityproduct] and return a MsgBox that states: The description field is limited to 2000 characters
Also I would like to provide the user with an OK button on the MsgBox that puts them back in the Description field
Thanks
If I click Download Log File and read the error, it states:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147204784</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Generic SQL error.</Message>
<Timestamp>2016-06-22T14:23:05.2533638Z</Timestamp>
<InnerFault i:nil="true" />
[b] <TraceText>
[Nextgen.Crm.Plugin: Nextgen.Crm.Plugin.ProcessProjectionFromLineItem]
[4ecac274-ebad-e311-8c19-463500000031: Nextgen.Plugin.ProcessProjectionFromLineItem: Update of opportunityproduct]
</TraceText>
[/b]
</OrganizationServiceFault>
How do I read the error specifically [Nextgen.Plugin.ProcessPro
Also I would like to provide the user with an OK button on the MsgBox that puts them back in the Description field
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This works, thanks.
ASKER
This worked, thanks for the help.
ASKER