Adding attributes to the mscrm form, general TAB programmatically RRS feed

  • Frage

  • Dear All,

    Please help me...

    There is a requirement where i need to add attributes created programmatically to the the form view( programmatically) to the specified general tab...


    Mittwoch, 9. September 2009 13:51


Alle Antworten

  • Hi Anup,

    you could try to solve your requirement with the organizationui class

    However you have to edit the xml by hand, and I am not sure if this will be supported.
    Mittwoch, 9. September 2009 20:06
  • Hi,

    how should this work? Are the fields in the entity and you would only display them on the form? Therefor you can use Java Script to show and hide fields on the form

    crmForm.all.>name of the field> = 'none';  // hide the label
    crmForm.all.>name of the field> = 'none'; // hide the field

    crmForm.all.>name of the field> = '';  // shows the label
    crmForm.all.>name of the field> = ''; // shows the field


    Viele Grüße

    Michael Sulz
    axcentro GmbH
    MVP für Microsoft Dynamics CRM
    Donnerstag, 10. September 2009 06:00
  • Hi Ckeller,

    Thanks for your suggestion. Yor are right, I have succesfully done it. Below are the steps ..

    1. Retrieve the formxml field through organsiationui class.
    2. Add micrsosoft.crm.sdk.isvreadyness sdk.
    3. It have add tab, row, section method, so use it.
    4. Update the organisation ui record with updated formxml.


    • Als Antwort vorgeschlagen ckeller Donnerstag, 10. September 2009 14:52
    Donnerstag, 10. September 2009 14:38
  • Hi Anup,

    thanks for the response. I forgot that there is the isvreadiness project in the sdk, which of course can be used for this task.
    Donnerstag, 10. September 2009 14:52
  • Hi,

    you can post your english crm questions here:

    Best regards,

    Jürgen Beck

    Dipl. Kfm./Wirtschaftsinformatik
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified CRM Developer
    Microsoft Certified Trainer

    ComBeck IT Services & Business Solutions
    Microsoft Gold Certified Partner
    Microsoft Small Business Specialist

    Developing & Supporting Business Applications from small business to big enterprises covering scores of sectors
    Dienstag, 5. Januar 2010 22:44