Menu Close

Category: Blog

Dynamics 365

Dynamics 365

Intelligence business applications in the cloud

> SALES > CUSTOMER SERVICE > OPERATIONS > MARKETING >FIELD SERVICE > PROJECT SERVICE AUTOMATION

OFFICE 365 | AZURE IOT |POWER BI | CORTANA INTELLIGENCE


Digital Transformation


>Engage your customers

> Empower your employees

> Transform your products


> Optimize your operations

Share this:

ODATA RESOURCES PATH EXAMPLES

OData Resource Path Examples

Resource                                                       URL
Service                                  OrganizationData.svc

Entity Set                              OrgainzationData.svc/ContactSet

Entity                                    OrgainzationData.svc/ContactSet(“guid”)

Relationship                          OrgainzationData.svc/ContactSet (“guid”)/Contact_Appointments                                                              

Property                                OrgainzationData.svc/ContactSet(“guid”)/FirstName
                                             

Mulitple Properties               OrgainzationData.svc/ContactSet(“guid Key”)?$Select =                                                                 FirstName, Address1_City                                           

Share this:

HANDLING EXCEPTIONS IN MICROSOFT DYNAMICS CRM PLUG-INS

Handling faults

Required reference in your code

 Use Microsoft.Xrm.Sdk.OrganizationServiceFault
  catch(FaultException<Microsoft.Xrm.Sdk.OrganizationServiceFault> ex)

other Common exceptions and faults to handle

System.TimeoutException

 catch(System.TimeoutException ex)

System.Exception

 catch(System.Exception ex)

Other exceptions and faults to handle

 -securityTokenValidationException
 -ExpiredSecurityTokenException
 -SecurityAccessDeniedException
 -MessageSecurityException
 -SecurityNegotiationException
Microsoft Dynamics CRM Online
  SecurityAccessDeniedException : Using a valid Microsoft Account, but it is not associated with a CRM Online Organization.
MessageSecutiyException: Your Microsoft Account is not valid or did not authenticate.

Share this: