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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How two or more Developers can work on same component

(3) ShareShare
ReportReport
Posted on by 96

Hi all,

Me and my Team is brainstorming on how two or more developers simultaneously can work on same component like Business process flow, form, fields, JavaScript, Workflow etc. and publish them without losing any of the changes? And we couldn’t able to figure out, so any suggestion or best practices are highly appreciated.

Thanks in advance.

Regards,

Vishwa

I have the same question (0)
  • Vishwarath Profile Picture
    96 on at
    How two or more Developers can work on same component

    Hi all,

    Me and my Team is brainstorming  and we couldn’t able to figure out on how two or more developers can simultaneously work on same component like Business process flow, form, fields, JavaScript, Workflow etc. and publish them without losing any of the changes?  Any suggestion or best practices are highly appreciated.

    Thanks in advance.

    Regards,

    Vishwa

  • Suggested answer
    kalluu91 Profile Picture
    40 on at
    How two or more Developers can work on same component
    My project goes with the following approach:
    - All developers will work on the same DEV environment
    - For customizations (entities, forms, fields, views): try to avoid assigning the same component for several developers working at the same time
    - For plugin development: create a dedicated DEV plugin for each developer + a main plugin for actual plugin, check this article for details https://kalcancode.wordpress.com/2025/02/14/power-apps-development-lifecycle-for-a-team-part-1/
    - For web resources development: use Fiddler, see this article for details https://kalcancode.wordpress.com/2025/02/15/power-apps-development-lifecycle-for-a-team-part-2/
     
    Cheers,
    Kim Anh
  • Suggested answer
    Daivat Vartak (v-9davar) Profile Picture
    7,833 Super User 2025 Season 2 on at
    How two or more Developers can work on same component
    Hello Vishwa,
     

    You've hit upon a classic challenge in collaborative Dynamics 365 development: managing concurrent changes to the same components. The platform's nature, where components are often intertwined and changes can overwrite each other, makes simultaneous development tricky.

    Here's a breakdown of best practices and strategies to enable your team to work concurrently without losing changes:

    1. Solution Component Isolation (Crucial):

    • Small, Focused Solutions:

      • Break down your development into small, focused solutions.
      • Each developer should work on a separate solution, targeting specific components or features. 

    • Avoid Overlapping Components:

      • Carefully plan your development to minimize overlap between solutions.
      • If multiple developers need to modify the same entity, try to divide the work by form, view, or related components. 

    • Feature Branches (Similar to Git):

      • Think of solutions as feature branches in a version control system.
      • Each developer creates a solution for their feature, develops it, and then merges it into a main solution. 

      •  

    •  

    2. Version Control for Solutions (Essential):

    • Solution Packager and Source Control:

      • Use the Solution Packager tool to unpack your solutions into source code.
      • Commit the unpacked source code to a version control system (e.g., Git).
      • This allows you to track changes, compare versions, and resolve conflicts. 

    • Branching and Merging:

      • Use branching and merging strategies to manage concurrent development.
      • Each developer works on their own branch, and then merges their changes into a main branch. 

    • Conflict Resolution:

      • Learn how to resolve merge conflicts in the solution source code.
      • This might involve manually editing XML files. 

      •  

    •  

    3. Development Environments and Branching Strategy:

    • Dedicated Development Environments:

      • Provide each developer with their own dedicated development environment.
      • This prevents conflicts and ensures that developers can work independently. 

    • Branching Strategy:

      • Implement a clear branching strategy (e.g., GitFlow).
      • This will help manage the flow of changes between environments.

      • For Example:

        • Dev branches (for individual feature development)
        • Test branches (for integration and testing)
        • Main/Release branches (for production deployments)

        •  
          

    •  

    4. Automated Builds and Deployments (CI/CD):

    • Azure DevOps or GitHub Actions:

      • Set up automated builds and deployments using Azure DevOps or GitHub Actions.
      • This will automate the process of unpacking solutions, building packages, and deploying them to different environments. 

    • Automated Testing:

      • Integrate automated testing into your CI/CD pipeline.
      • This will help catch errors early and prevent regressions. 

      •  

    5. Communication and Coordination:

    • Regular Meetings:

      • Hold regular team meetings to discuss progress, identify potential conflicts, and coordinate development efforts. 

    • Communication Tools:

      • Use communication tools (e.g., Microsoft Teams, Slack) to keep everyone informed of changes and updates. 

    • Code Reviews:

      • Implement code reviews to ensure that changes are properly implemented and do not introduce errors. 

      •  

    6. Component-Specific Considerations:

    • Business Process Flows (BPFs):

      • Minimize concurrent changes to BPFs.
      • If multiple developers need to modify a BPF, coordinate carefully. 

    • Forms and Views:

      • Divide form and view development by section or tab.
      • Use feature flags or configuration settings to control which form elements are visible. 

    • JavaScript and Plugins:

      • Use version control to manage JavaScript and plugin code.
      • Implement code reviews and automated testing. 

    • Workflows:

      • Minimize concurrent changes to workflows.
      • If multiple developers need to modify a workflow, coordinate carefully. 

      •  

    7. Managed vs. Unmanaged Solutions:

    • Unmanaged for Development:

      • Use unmanaged solutions for development.
      • This allows you to easily modify and customize components. 

    • Managed for Deployment:

      • Use managed solutions for deployment to production.
      • This prevents accidental modifications in production.  

    •  

    Key Takeaways:

    • Component isolation is crucial for concurrent development.
    • Version control is essential for tracking changes and resolving conflicts.
    • Automated builds and deployments streamline the development process.
    • Clear communication and coordination are vital for team success.

    •  

    By implementing these best practices, you can enable your team to work concurrently on Dynamics 365 components without losing changes and ensure a smooth and efficient development process.

     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more. If you have further questions, please feel free to contact me.
     
    My response was crafted with AI assistance and tailored to provide detailed and actionable guidance for your Microsoft Dynamics 365 query.
     
    Regards,
    Daivat Vartak

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 242

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 83 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 68 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans