locked
Help in writing a plugin RRS feed

  • Question

  • Hi All,

    I want to write a plug-in for update of a custom entity.
    On this entity there is a picklist type attribute when this is changed and the from is saved it should make a new record with some attributes value that is equal to the fetched value to the from the case attribute.
    Also there are 3 more checks like these:

    ·          When the flag is checked then record should compute value on the case attribute and then make a record for this custom entity with the computed value.

    ·          When a particular value from the record is selected from the look up case related record should be updated.

    ·          When an attribute value is submitted then then again the record should be created on the computation of this value with the case attribute value.

    I am a novice in writing Plug-in, can anybody help me writing this plug-in?

    Regards,
    Shivam

    Thursday, December 23, 2010 5:17 PM

Answers

All replies

  • Hi,

    Is their anybody who can help me on this.

    Regards,
    Shivam

    Thursday, December 23, 2010 7:10 PM
  • On this entity there is a picklist type attribute when this is changed and the from is saved it should make a new record with some attributes value that is equal to the fetched value to the from the case attribute.

    you have to register images,you need to use images in your plugin to compare value is changed or not.

    for images check https://community.dynamics.com/product/crm/crmtechnical/b/crminogic/archive/2010/07/26/pre-image-38-post-image-explained-33.aspx

    Also there are 3 more checks like these:

    ·          When the flag is checked then record should compute value on the case attribute and then make a record for this custom entity with the computed value.
    refer http://msdn.microsoft.com/en-us/library/bb928994.aspx

    ·          When a particular value from the record is selected from the look up case related record should be updated.


    ·          When an attribute value is submitted then then again the record should be created on the computation of this value with the case attribute value.

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


    Mahain : My Dynamics CRM Blog
    Thursday, December 23, 2010 7:21 PM
    Moderator
  • Hi Mahender,

    Thanks a lot.

    I have made a image also.but i dont now where to proceed with this.
    I am new to plugins aswell.

    Regards,
    Shivam

    Thursday, December 23, 2010 7:26 PM
  • Hi Mahender,

    Also i open your links and found out that these are using some reference. But i don't know how to use reference.

    Regards,
    Shivam

    Thursday, December 23, 2010 7:29 PM
  • you need to add reference of MS CRM API, that you will get when you will download ms crm skd.

    also if you want sample code for using images you can download http://crmaudit.codeplex.com/ plugin source code which will help you to understand how to use images, but if you are still facing some issue come with your specific question we are here to help you.


    Mahain : My Dynamics CRM Blog
    Thursday, December 23, 2010 7:40 PM
    Moderator