tag:blogger.com,1999:blog-7997141762254753587.post3499330145015792606..comments2024-03-04T22:57:55.899+05:30Comments on Guru Prasad's Blog: Microsoft Dynamics CRM: Retrieve using ODATA and JSON in CRM 2011Guru Prasadhttp://www.blogger.com/profile/16644140638642563724noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-7997141762254753587.post-89405268693047435292014-11-30T19:55:07.788+05:302014-11-30T19:55:07.788+05:30Hi Guru,
I am getting error on JSON.Parse() funct...Hi Guru,<br /><br />I am getting error on JSON.Parse() function. I have successful added JSON.js file in my html webresource.<br /><br />Can you please explain me about this where I am wrong<br /><br />Thank you in advanceAnonymoushttps://www.blogger.com/profile/07451179017644539200noreply@blogger.comtag:blogger.com,1999:blog-7997141762254753587.post-89769162882449872222013-07-01T20:38:10.114+05:302013-07-01T20:38:10.114+05:30Hi Guru
Thanks for your article.
I have a pb when ...Hi Guru<br />Thanks for your article.<br />I have a pb when I load my form. I get an error message which comes from the json2 function. I've just created a web ressource named new_json2 and pasted the sample code 'json' from the sdk. Was it the right way to use the oData restpoint ?<br />Thank you in advanceAnonymoushttps://www.blogger.com/profile/12452210589844487371noreply@blogger.comtag:blogger.com,1999:blog-7997141762254753587.post-40432976519921264632012-05-23T20:29:45.871+05:302012-05-23T20:29:45.871+05:30Hi Guru!
Thanks for your reply - I still couldn...Hi Guru!<br />Thanks for your reply - I still couldn't make it work (I had already tried with the Schema Name without any luck).<br />Finally I solved it using the EVAL method like this:<br /><br />function RetrieveData(Entity, readFrom, writeTo){<br /> eval("Xrm.Page.getAttribute(writeTo).setValue(Entity." + readFrom + ");");<br />}<br /><br />I know that it's Tomas Lollikehttps://www.blogger.com/profile/17053313569424326899noreply@blogger.comtag:blogger.com,1999:blog-7997141762254753587.post-34207399544726775242012-05-21T16:23:37.069+05:302012-05-21T16:23:37.069+05:30Hi Tomas,
you can change the function like this
...Hi Tomas,<br /><br />you can change the function like this<br /><br />function RetrieveEntityData(Entity, fromTarget, toTarget){ // In this case the fromTarget contains the text "log_CMDBBeskrivelse"<br />//var from_a = Entity.fromTarget; // this doesn't work, because here fromTarget won't replaced with filed name, it considers as property of entity<br />var from_a = Entity[Guru Prasadhttps://www.blogger.com/profile/16644140638642563724noreply@blogger.comtag:blogger.com,1999:blog-7997141762254753587.post-7127363748512187802012-05-18T20:25:37.630+05:302012-05-18T20:25:37.630+05:30Hi Guru!
Great article :-D
I've changed the co...Hi Guru!<br />Great article :-D<br />I've changed the code a bit, trying to get rid of the hardcoded stuf like eg. <br />var accountNumber = Entity.AccountNumber;<br />and <br />alert(Entity.Name);<br /><br />I did like this in the last of the functions, but I can't make it work (unless I hardcode the attribute name):<br /><br />RetrieveEntityData(data.d, fromTarget, toTarget); // The Tomas Lollikehttps://www.blogger.com/profile/17053313569424326899noreply@blogger.comtag:blogger.com,1999:blog-7997141762254753587.post-9730543821342993792012-03-13T13:25:47.741+05:302012-03-13T13:25:47.741+05:30Hi Ashish,
I am not clear with your requi...Hi Ashish,<br /><br /> I am not clear with your requirement. if you can provide more info, i can try to help..Guru Prasadhttps://www.blogger.com/profile/16644140638642563724noreply@blogger.comtag:blogger.com,1999:blog-7997141762254753587.post-52531477810502367622012-03-06T20:13:54.544+05:302012-03-06T20:13:54.544+05:30Hi Prasad,
waiting for reply. now a days i am deve...Hi Prasad,<br />waiting for reply. now a days i am developing transaction entity plugin but it not working can you have any sample code for it??Anonymoushttps://www.blogger.com/profile/01732695412489643724noreply@blogger.comtag:blogger.com,1999:blog-7997141762254753587.post-35991775386088429302012-03-02T15:34:36.932+05:302012-03-02T15:34:36.932+05:30Hi Ashish,
What kind of issue you are faci...Hi Ashish,<br /><br /> What kind of issue you are facing. can you provide me the exact error, so that i can help.Guru Prasadhttps://www.blogger.com/profile/16644140638642563724noreply@blogger.comtag:blogger.com,1999:blog-7997141762254753587.post-47209679952461368402012-03-01T21:30:38.249+05:302012-03-01T21:30:38.249+05:30hi i try to implement but it give errorhi i try to implement but it give errorAnonymoushttps://www.blogger.com/profile/01732695412489643724noreply@blogger.comtag:blogger.com,1999:blog-7997141762254753587.post-30914972704940225272012-03-01T21:23:29.923+05:302012-03-01T21:23:29.923+05:30Good Code yaarGood Code yaarAnonymoushttps://www.blogger.com/profile/01732695412489643724noreply@blogger.com