locked
read/edit the form's(Task) custom attributes values when the user clicks save as completed using save as completed RRS feed

  • Question

  • Hi ,
    I had a requirement of reading and editing the data when the user clicks the save as completed when the user clicks the save as completed ont the task entity or any entity using the plugin. i am new to plugins, can any one help me how to achieve the task.

    Thanks & Regards
    srinivas
    srinivas@mtccrm.com

     

    Saturday, December 13, 2008 8:24 AM

Answers

  • Hi,

    Using Jscript, in save event of the Task Form, you can find which button is clicked.

    1.       Create a Bit attribute.

    2.       Add it on the form.

    3.       Hide it using Jscript.

    4.       Change its value using onSave event of the form to show “Save as completed” is clicked.

    5.       In you plug-in check for the value and do your business requirement.

     

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

     

     

    Saturday, December 13, 2008 2:07 PM
    Moderator

All replies

  • Hi,

    Using Jscript, in save event of the Task Form, you can find which button is clicked.

    1.       Create a Bit attribute.

    2.       Add it on the form.

    3.       Hide it using Jscript.

    4.       Change its value using onSave event of the form to show “Save as completed” is clicked.

    5.       In you plug-in check for the value and do your business requirement.

     

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

     

     

    Saturday, December 13, 2008 2:07 PM
    Moderator
  • Hi ,

    The above things worked out but, i need to write a plugin , and register the plugin programmatically.

     

     

    Thanks & Regards

    srinvas

     

    Wednesday, December 17, 2008 5:52 AM