Customer Engagement & Dynamics CRM Forum

Expand all | Collapse all

Plugin upgrating from V8 to V9

  • 1.  Plugin upgrating from V8 to V9

    SILVER CONTRIBUTOR
    Posted Aug 25, 2020 01:01 AM
    Hello,

    We are ugrading our CRM V8 to V9. After upgrating JavaScripts by using JavaScript V9 Validator of XRMToolBox, I need to upgrate plugins.
    Can anyone tell me how to proceed? Do you have any documentation and/or tool which can help me?

    Best regards

    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------
    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 2.  RE: Plugin upgrating from V8 to V9

    TOP CONTRIBUTOR
    Posted Aug 26, 2020 06:01 AM
    There shouldn't normally be any need to make changes to plugins for a v8 to v9 migration. So long as you've already been following the best practises you should be fine (but test!)

    If you are doing any sort of dynamic processing based on the type of values in entities that your plugin handles, you might need to extend them to handle new data types such as the multi-select picklist (OptionSetValueCollection) that didn't exist in v8.

    ------------------------------
    Mark Carrington
    Chief Technologist
    Data8
    Chester
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 3.  RE: Plugin upgrating from V8 to V9

    SILVER CONTRIBUTOR
    Posted Aug 27, 2020 03:10 AM
    There are multi select pick list fields in V9?

    Yaaaaaaaaas!

    As in a dropdown where you can select multiple values? *happy dance*

    ------------------------------
    Jessica Howes
    Microsoft Dynamics Specialist
    Opus
    Reigate
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 4.  RE: Plugin upgrating from V8 to V9

    TOP CONTRIBUTOR
    Posted Aug 27, 2020 04:30 AM
    Yes, this is one of my favourite enhancements in v9 (except UCI!)

    All the information for working with these attributes in plugins is at https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/multi-select-picklist

    ------------------------------
    Mark Carrington
    Chief Technologist
    Data8
    Chester
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 5.  RE: Plugin upgrating from V8 to V9

    SILVER CONTRIBUTOR
    Posted Aug 28, 2020 04:10 PM
    Good day,

    Many thanks. It is helpfull.


    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 6.  RE: Plugin upgrating from V8 to V9

    SILVER CONTRIBUTOR
    Posted 26 days ago
    Hi Mark,

    I have a question. Microsoft said that the legacy process-related attributes (such as StageId, ProcessId) are now deprecated.
    Thus, what about plugins which are using thoses attributes? Does that means we should re-design these plugins?

    Thanks,


    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 7.  RE: Plugin upgrating from V8 to V9

    TOP CONTRIBUTOR
    Posted 26 days ago
    Yes - it's not really plugin-specific, but any customizations using deprecated features should be updated. There's more information in the Microsoft docs:

    https://docs.microsoft.com/en-us/power-platform/important-changes-coming#legacy-process-related-attributes-in-entities-are-deprecated

    ------------------------------
    Mark Carrington
    Chief Technologist
    Data8
    Chester
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 8.  RE: Plugin upgrating from V8 to V9

    SILVER CONTRIBUTOR
    Posted 26 days ago
    Many thanks. I appreciate a lot.

    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 9.  RE: Plugin upgrating from V8 to V9

    Posted Aug 26, 2020 11:03 AM
    Edited by Jeff Orris Aug 26, 2020 11:06 AM
    Hi Arsene,

    The only thing that I can think of regarding any plugin or custom workflow assemblies is to ensure that you do a rebuild of the assemblies to target .NET version 4.6.2. I would also recommend downloading the latest version of Microsoft.CrmSdk.CoreAssemblies from NuGet to ensure you have all the updated assemblies to include for the rebuild.  A major reason for this is to ensure you are targeting TLS 1.2.

    You then will need to update the assemblies via the Plugin Registration Tool.

    Anyone feel free to correct me if I'm wrong.

    Regards.

    ------------------------------
    Jeff Orris
    Jeffrey Steven Orris - Independent Consultant
    Harrisburg
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 10.  RE: Plugin upgrating from V8 to V9

    SILVER CONTRIBUTOR
    Posted Aug 28, 2020 04:11 PM
    Hi Jeff,

    Many thanks. Your recommandation is helpfull.

    ------------------------------
    Arsene Sabas
    Canadian Nuclear Safety Commission
    Ottawa
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


If you've found this thread useful, dive deeper into User Group community content by role