none
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...

    Regards

    Anup
    Mittwoch, 9. September 2009 13:51

Antworten

Alle Antworten

  • Hi Anup,

    you could try to solve your requirement with the organizationui class http://msdn.microsoft.com/en-us/library/bb955316.aspx

    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>_c.style.display = 'none';  // hide the label
    crmForm.all.>name of the field>_d.style.display = 'none'; // hide the field

    crmForm.all.>name of the field>_c.style.display = '';  // shows the label
    crmForm.all.>name of the field>_d.style.display = ''; // 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.

    Regards,

    Anup
    • 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: http://social.msdn.microsoft.com/Forums/en-US/crm/threads

    Best regards,
    Jürgen

    Jürgen Beck

    Dipl. Kfm./Wirtschaftsinformatik
    MVP, MCSD.NET, MCITP DBA, MCDBA, MCSE
    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

    http://www.combeck.de
    Dienstag, 5. Januar 2010 22:44
    Moderator