locked
disable form assistant crm 2011 RRS feed

  • Question

  • Hey,

     

    How can i disable form assistant panel in incident form ?

     

    I have found this xml code but i dont know how and where to set it?

     

    <form> (FormXML)enablerelatedinformation attribute to false.

    thx for answers

     

     


    Software Specialist Crm
    Thursday, December 8, 2011 11:08 AM

Answers

  • This is set by customising the form xml. In short:

    1. Create a solution
    2. Put the incident entity in it
    3. Export the solution
    4. Open up the customisations.xml file in a text editor, edit the "enablerelatedinformation" attribute to false. 
    5. Save the file
    6. Upload the file back into the crm solution zip file
    7. Import the solution
    8. Publish the incident entity

     

    The SDK article http://msdn.microsoft.com/en-us/library/gg334527.aspx gives the full guide on editing form xml. There is also a way to do this with JScript using the document object.

    document.getElementById('tdRelatedInformationPane').style.display = 'none';
    



    Paul Dowman, CRM Developer
    • Proposed as answer by Paul Dowman Thursday, December 8, 2011 12:00 PM
    • Marked as answer by Ahmet Çankaya Thursday, December 8, 2011 12:10 PM
    Thursday, December 8, 2011 12:00 PM

All replies

  • This is set by customising the form xml. In short:

    1. Create a solution
    2. Put the incident entity in it
    3. Export the solution
    4. Open up the customisations.xml file in a text editor, edit the "enablerelatedinformation" attribute to false. 
    5. Save the file
    6. Upload the file back into the crm solution zip file
    7. Import the solution
    8. Publish the incident entity

     

    The SDK article http://msdn.microsoft.com/en-us/library/gg334527.aspx gives the full guide on editing form xml. There is also a way to do this with JScript using the document object.

    document.getElementById('tdRelatedInformationPane').style.display = 'none';
    



    Paul Dowman, CRM Developer
    • Proposed as answer by Paul Dowman Thursday, December 8, 2011 12:00 PM
    • Marked as answer by Ahmet Çankaya Thursday, December 8, 2011 12:10 PM
    Thursday, December 8, 2011 12:00 PM
  • Hi,

    You can hide the form assistant use following code:

    document.getElementById('tdRelatedInformationPane').style.display = 'none';
    

    See more detail here.
    Thursday, December 8, 2011 12:05 PM
  • Umm Sergey - isn't that what I just posted? :o)
    Paul Dowman, CRM Developer
    Thursday, December 8, 2011 12:09 PM
  • Umm Sergey - isn't that what I just posted? :o)
    Paul Dowman, CRM Developer
    yh first solution method which u explained step by step thx lots :)

    Software Specialist Crm
    Thursday, December 8, 2011 12:10 PM
  • I'm sorry...
    Thursday, December 8, 2011 12:19 PM