locked
MS CRM Customization Applied to All Custom Entities RRS feed

  • Question

  • I'm working on a managed solution which currently builds relationships between a custom defined entity (status) and the opportunity object.  This relationship is created through the import of the customizations.xml of the solution.

    Is there any way to apply, via either the the customizations.xml or programmatically through a loaded dll, these relationships to all other custom entities on the CRM instance?

    I am aware that I could manually define the relationship between a the 'status' custom entity and another specific custom defined entity on the instance by defining it in the customizations.xml, but in many cases I will not have access to / knowledge of other custom entities within CRM in advance.

    Is this even possible with dynamics crm online (or even on premise)?

    Monday, July 15, 2013 10:57 PM

Answers

  • Hi,

    To the best of my knowledge this could not be done. You may reach your requirement by modifying tables in DB or changing the customization file manually, but both of them are high risk and unsupported.

    Just a suggestion: if the new entity has relationship with all of the entities, why you don't define it as an activity entity?



    My Weblog | My Website

    Tuesday, July 16, 2013 4:38 AM
    Moderator

All replies

  • Hi,

    To the best of my knowledge this could not be done. You may reach your requirement by modifying tables in DB or changing the customization file manually, but both of them are high risk and unsupported.

    Just a suggestion: if the new entity has relationship with all of the entities, why you don't define it as an activity entity?



    My Weblog | My Website

    Tuesday, July 16, 2013 4:38 AM
    Moderator
  • Thanks for the clarification, Payman.

    If utilizing an activity-entity approach, would I be able to hide the relation ship from certain specified entities?

    Tuesday, July 16, 2013 4:19 PM