Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Proxy classes across multiple assemblies in CRM 2011?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, I know how to generate the proxy class of a specific organization using crmsvctool but I was wondering if it would be able to put different parts in different assemblies. For example: all out-of-the-box entities and attributes in assembly1 and custom elements in assembly2.

Please note that not all custom elements are new entities but new fields on existing entities like address or contact.

Thanks in advance.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM Proxy classes across multiple assemblies in CRM 2011?

    In order to clarify my question: I have a standard implementation based on a proxy CRM class including several entities (regularEntity1, regularEntity2, customEntity1, etc.). On top of that, I -sometimes-need to implement some customizations for specific customers using different entities or different fields within standard entities (regularEntity1.CustomField1, CustomEntity2, etc).

    For "deployment reasons", I don't want to recreate the proxy class to include custom entities and fields along with regular ones, I would like to have these in 2 different assemblies:

    - Assembly1: entities and fields used in my standard product implementation

    - Assembly2: custom entities and custom fields on regular entities not already included in Assembly1

    I need this in order to separate the base product from customizations. Since I have multiple customers with same default implementation but different custom implementation, I would like to be able to update the base implementation (Assembly1) in all customers without changing the custom part (Assembly2). This will allow me to make only one change and deploy the same in multiple environments instead of recreating every single proxy class for every customer (which is what I'm currently doing).

    I hope the above clarifies my question a little bit. Thanks in advance for your help.

  • sandeepstw Profile Picture
    sandeepstw 4,601 on at
    RE: CRM Proxy classes across multiple assemblies in CRM 2011?

    hi,

    You can use different attributes and entities in different libraries, CRM supports it. But if you will be more specific about requirement. I can give better solution. 

    Thanks,

    Sandeep

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans