tag:blogger.com,1999:blog-6377415717135470466.post2548745769718657705..comments2024-03-14T02:31:58.273-07:00Comments on Microsoft Dynamics CRM - Tips, Tricks and Add-ons: Performing CRUD Operations synchronously in CRM 2011 through JSONInogichttp://www.blogger.com/profile/10758448445550081412noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-6377415717135470466.post-83215768403504995032012-06-18T23:44:08.270-07:002012-06-18T23:44:08.270-07:00Yes, you are right you can’t read the data using t...Yes, you are right you can’t read the data using the POST method. You need to use the GET method for this. Please refer below link to read data through JSON.<br /><br />http://inogic.blogspot.in/2011/12/read-records-synchronously-using-json_13.html<br /><br />HTHInogichttps://www.blogger.com/profile/10758448445550081412noreply@blogger.comtag:blogger.com,1999:blog-6377415717135470466.post-1320901016304359702012-06-18T23:41:10.449-07:002012-06-18T23:41:10.449-07:00This comment has been removed by the author.Inogichttps://www.blogger.com/profile/10758448445550081412noreply@blogger.comtag:blogger.com,1999:blog-6377415717135470466.post-91453785917881951282012-06-18T08:31:30.355-07:002012-06-18T08:31:30.355-07:00Hi,
Can we use POST request to retrieve data ?
I ...Hi, <br />Can we use POST request to retrieve data ?<br />I try to do this, but I don't have any responses :<br />var request = new XMLHttpRequest();<br />request.open("POST", oDataUrl + queryPart, true);<br />request.setRequestHeader("Accept", "application/json");<br />request.setRequestHeader("Content-Type", "application/json;charset=utf-8")Anonymoushttps://www.blogger.com/profile/16248699825063320944noreply@blogger.comtag:blogger.com,1999:blog-6377415717135470466.post-10608259763789252412012-05-05T02:54:37.607-07:002012-05-05T02:54:37.607-07:00Hi Vikas,
For create and retrieve, we don’t need ...Hi Vikas,<br /><br />For create and retrieve, we don’t need to specify the method into the request header. But for update and delete, we need to specify the methods as given below.<br /><br />For update<br />updateRecordReq.setRequestHeader("X-HTTP-Method", "MERGE");<br /><br />For delete<br />deleteRecordReq.setRequestHeader("X-HTTP-Method", "DELETE");<br Inogichttps://www.blogger.com/profile/10758448445550081412noreply@blogger.comtag:blogger.com,1999:blog-6377415717135470466.post-35271617252256939552012-05-02T07:39:51.705-07:002012-05-02T07:39:51.705-07:00where have you mentioned that you are creating or ...where have you mentioned that you are creating or updating a record<br /> <br />function createRecord( ) {<br />var account = new Object( );<br />account.Name = "Create Sample";<br />account.Telephone1 = "555-0123";<br />account.AccountNumber = "ABCDEFGHIJ";<br />account.EMailAddress1 = "someone1@example.com";<br /><br />var jsonEntity = vikashttps://www.blogger.com/profile/08651288592547000730noreply@blogger.comtag:blogger.com,1999:blog-6377415717135470466.post-90866366725608799122012-01-02T03:38:39.564-08:002012-01-02T03:38:39.564-08:00For ODATA request use the "Schema Name" ...For ODATA request use the "Schema Name" of the attribute.<br />Go to Setting>>Customizations>>Select the entity and after that select the Fields of the selected entity.<br />You will find the Grid with all the attributes for the selected entity. Use the "Schema Name" of the attribute i.e. Account.new_FieldName.Inogichttps://www.blogger.com/profile/10758448445550081412noreply@blogger.comtag:blogger.com,1999:blog-6377415717135470466.post-37978322620134748202011-12-31T14:18:40.429-08:002011-12-31T14:18:40.429-08:00Thanks for the tuto was really helpful
Please im a...Thanks for the tuto was really helpful<br />Please im a bit confuse can you please explain to me why when we want to use an attribute of an Entity like account.AccountNumber, we shoul write AccountNumber instead of "accountnumber" but when you how the attributename is written is "accountnumber", <br />For new customsfield with a name like "new_field" should i write &TheNerdhttps://www.blogger.com/profile/03875001638532072234noreply@blogger.com