locked
Just started learning to develop plugins, need a little assistance. RRS feed

  • Question

  • I just started learning to develop plugins so I'm very new. I've read and developed basic alert plugins oncreate and on update and registered the plugin, but I am wondering what a FetchXML/C# code would look like to calculate the total number of lead records and then update a related entity. Where do I start? Can anyone provide sample code? Thank you.

    Tuesday, November 19, 2013 8:50 AM

Answers

  • Please check following link and read all sub topics related to fetchXML.

    http://msdn.microsoft.com/en-us/library/gg328332.aspx


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !

    • Proposed as answer by SravaniRN459 Tuesday, November 19, 2013 9:27 AM
    • Marked as answer by HIMBAPModerator Tuesday, November 19, 2013 10:25 PM
    Tuesday, November 19, 2013 9:15 AM
  • Hi,

    I hope you have the latest SDK for CRM. You can browse to the CRM SDK extracted location as given below:

    SDK\samplecode\cs\generalprogramming\queries

    Open the Query.sln project and you would find various ways of implementing the different queries.

    Thanks & Regards,


    Anubhav Bajpai

    • Proposed as answer by SravaniRN459 Tuesday, November 19, 2013 9:26 AM
    • Marked as answer by HIMBAPModerator Tuesday, November 19, 2013 10:25 PM
    Tuesday, November 19, 2013 9:22 AM

All replies

  • Please check following link and read all sub topics related to fetchXML.

    http://msdn.microsoft.com/en-us/library/gg328332.aspx


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !

    • Proposed as answer by SravaniRN459 Tuesday, November 19, 2013 9:27 AM
    • Marked as answer by HIMBAPModerator Tuesday, November 19, 2013 10:25 PM
    Tuesday, November 19, 2013 9:15 AM
  • Hi,

    I hope you have the latest SDK for CRM. You can browse to the CRM SDK extracted location as given below:

    SDK\samplecode\cs\generalprogramming\queries

    Open the Query.sln project and you would find various ways of implementing the different queries.

    Thanks & Regards,


    Anubhav Bajpai

    • Proposed as answer by SravaniRN459 Tuesday, November 19, 2013 9:26 AM
    • Marked as answer by HIMBAPModerator Tuesday, November 19, 2013 10:25 PM
    Tuesday, November 19, 2013 9:22 AM
  • Hi Sanjeeb,

    If you're happy with the video solution to one of your other questions let me know and I'll do a video showing you how calculate the total number of lead records and update an entity.

    Kind regards,

    Steve

    Friday, November 29, 2013 9:09 PM