locked
Call script onload in bulkedit form RRS feed

  • Question

  • Hello,

    How to add javascript onload and onsave of bulkedit form. Need to add javascript in a form , which opens when click edit button after selecting multiple records.

    Friday, January 11, 2013 9:13 AM

Answers

  • Hello gowda,

    http://community.dynamics.com/product/crm/crmtechnical/b/crminogic/archive/2011/10/18/enable-scripts-on-bulk-edit-form-in-crm-2011.aspx

    Check the above link for your solution


    Thanks and Regards. Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    • Marked as answer by gowda.911 Friday, January 11, 2013 9:17 AM
    Friday, January 11, 2013 9:14 AM
  • Hi Gowda
    if you want to save a read only field you need to set the SubmitMode to be always, which ensures the value is sent to the database.
    Xrm.Page.getAttribute("fieldName").setSubmitMode("always");

    Follow below conversation also

    http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/8b5d3d79-91d7-46c3-a128-49eff2f2903d

    • Marked as answer by gowda.911 Friday, January 11, 2013 9:17 AM
    Friday, January 11, 2013 9:15 AM

All replies

  • Hello gowda,

    http://community.dynamics.com/product/crm/crmtechnical/b/crminogic/archive/2011/10/18/enable-scripts-on-bulk-edit-form-in-crm-2011.aspx

    Check the above link for your solution


    Thanks and Regards. Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    • Marked as answer by gowda.911 Friday, January 11, 2013 9:17 AM
    Friday, January 11, 2013 9:14 AM
  • Hi Gowda
    if you want to save a read only field you need to set the SubmitMode to be always, which ensures the value is sent to the database.
    Xrm.Page.getAttribute("fieldName").setSubmitMode("always");

    Follow below conversation also

    http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/8b5d3d79-91d7-46c3-a128-49eff2f2903d

    • Marked as answer by gowda.911 Friday, January 11, 2013 9:17 AM
    Friday, January 11, 2013 9:15 AM