REST

Sending data in utf-8 format in REST service

I had a requirement from a client where data we were trying to send had some non-english characters i.e. Turkish characters.Usually sending data by converting into bytes and send a stream works but client was unable to read. Below are … Read More

Why not to use try exception in C# service

I was working on a REST service for a client and then that service was being used by a third party to throw huge data in it. Couple of methods we being called and everything seemed to work fine however … Read More

CRM Call WCF Service in HTML Web Resource using AJAX

Recently I have worked on arequirement where I had to write a service which was going to be used by different clients and had to call same service using HTML web resource in CRM 2015.To achieve this first of all … Read More

Get and Set value using ODATA End Points

Below is a sample code which gets data from a custom entity by passing name of the record – In code below, I am triggering function ‘CheckAndSetOutcode’ on change of a field on a form (post code in this case) … Read More

How to get data by REST and display as a warning message on CRM form

In this post we are going to get an attribute value from Account entity on Order form and then display value on Order form as a Warning message (from CRM 2013 we can display wanting, info and error messages at … Read More