web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Package deployer - Support multiple CRM versions

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a CRM solution that I currently export as a 8.0 solution. This solution is bundled in a .zip for the CRM package deployer for distribution on the MS AppSource.

I would like to add some functionalities introduced in, let's say, CRM 8.2 to my solution and enable them only when installed in CRM 8.2. In other words, when I import my solution:

  • In CRM 8.0, 8.2 functionalities are ignored.
  • In CRM 8.2, 8.2 functionalities are enabled.

Is it possible to either:

  • Bundle multiple solutions in my CRM package and only import those that are supported by the CRM instance where they are being imported?
  • Or have something in my solution definition that tells CRM to ignore the "8.2 only" nodes?
  • Anything else that would do the same thing?

I do not want to end up with 2 solutions on the app source, one for 8.0 and another for 8.2.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Wayne Walton Profile Picture
    13,730 on at

    why do you care about targeting 8.0 if you're submitting to AppSource?  Just make an 8.2 solution and you should be set.

    That said, the Package Deployer howto says in your situation you need to make both solutions and then use the deployer tool to determine which to deploy: msdn.microsoft.com/.../dn688182.aspx

  • sbelzile Profile Picture
    on at

    > Why do you care about targeting 8.0 if you're submitting to AppSource?  Just make an 8.2 solution and you should be set.

    I had not seen my problem that way. Answer: It's not everybody that upgrades to new CRM versions right away. We have some On-Premises clients as well, so I don't want to only target the latest version.

    > That said, the Package Deployer howto says in your situation you need to make both solutions and then use the deployer tool to determine which to deploy: msdn.microsoft.com/.../dn688182.aspx.

    My first approach would be to have a base solution that can be imported in 8.0+ instances and another specificly for 8.2+ features.

    This link does not help me much: of course I read this. I was looking for something for some more precise help: the `configsolutionfile` does not have any options for my use case, I think I will have to code something to support this. How would you tell the package deployer to perform this task?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans