locked
Creating Json from Plugin and Call weburl RRS feed

  • Question

  • Hi All,

    I am using CRM online as of now ( Trial Account ).

    I am new in developing CRM SDK based plugin. I have created plugin which is called when new contact is added in CRM.

    Plugin is registered using PluginRegister and Isolationmode is SandBox ( None type is not allowing plugin registration )

    There are actions i want to perform in plugin.

    1) Can i create JSON from Entity ???  Plugin not allowing me to use "System.Web.Script.Serialization" to create JSON string.

    2) If JSON creation not possible in Plugin itself, can i pass my Entity to weburl (or service) with POST?

    if i can, then from there i can generate JSON and call my destination URL for further processing.

    I tried lot of option but none of them worked for me. Please guide on this. Provide code snippet/ref if possible.


    Jiten Patoliya Windows C# developer

    Friday, May 16, 2014 12:01 PM

All replies

  • Hi,

    you can try an answer in this example:

    http://code.msdn.microsoft.com/How-to-call-Rest-Service-b0b188df

    Bye

    Alessandro


    Alessandro Graps

    Monday, May 19, 2014 3:31 PM