Posts

Showing posts from October, 2021

PL400 : Implement source control for projects including solutions and code assets (Implement application lifecycle management (ALM))

Image
In the modern development world, version control systems are essential tools. Every software companies follow best practices and tools during the development process. Source control tools such as Git, GitHub and Azure DevOps and others are designed with the aim of improving the communication and software quality. Version control, also known as source control, is the practice of tracking and managing changes to software code. Version control systems are software tools that help software teams manage changes to source code over time. A version control system serves the following purpose: A version control enables multiple people to work together as a project. Version control integrates the work done by different team members together. Version control provides access to the historical version of our project. In Power Platform and Dynamics 365 CE, solutions play an important role in shipping changes to developers across different environments. Deployment and source control are not the same

PL400 : Automate Deployments(Implement application lifecycle management (ALM))

Image
Software can be deployed manually or automatically. Manual deployment requires the involvement of a team at each stage of the software delivery process. Uses automatic deployment technology that enables automatic releases to different environments. Automated deployment in Dynamics 365 Customer and Power Platform is always a challenge. It is a practice that allows us to fully or semi-automatically ship code across multiple stages of the deployment process, from initial development to production. If our DevOps platform is Azure DevOps, we can use Power Apps tools to automate common build and deployment tasks related to Power Apps. This includes synchronization of solution metadata between development and our version control system, build build artifacts, deployment to downstream environments, provisioning or provisioning of the environment, and the ability to perform static analytics checks against our solutions using the Power App Checker service. Microsoft Power Platform Build tools ar

PL400 :create a package for deployment(Implement application lifecycle management (ALM))

Image
The solution is the core component for shipment of changes to Dynamics 365 Customer Engagement, but Microsoft offers a number of tools to make developer's life easier and the package is one of them. In the package preparation step, we are aiming to define the package as a set of solutions, data and corresponding actions. Packages allow us to take multiple solutions and create installation packages with configuration data. A package can consist of any or all of the following: One or more Dataverse Solution files. Flat files or exported data files from the configuration migration tools. Custom Code that can run during or after the package is deployed to Dataverse environment. HTML Content specific to the package that can display at the beginning and end of the Package deployment process. Pre-requisites : Ensure that we have all the solutions and files ready that we want to include in the package. Microsoft .NET Framework 4.5.2 Microsoft Visual Studio 2012 or 2013 NuGet Package Manage

PL400 :manage solution dependencies (Implement application lifecycle management (ALM))

Image
The solution framework automatically tracks dependencies for solution components. Each solution component operation automatically calculate any dependencies to other components in the system. When we edit the solution we find that we cannot remove the solution component because it has a published dependency with another solution component. Or, we may not be able to uninstall a managed solution because one of the components of the managed solution has been used in a customization in another unmanaged solution. Dependency information is used to maintain system integrity and prevent operations that could lead to inconsistent states. As the result of dependency tracking the following behavior are enforced: Deletion of component is prevented if another component in the system depends on it. Export of a solution warns the user if there are any missing components that could cause failure when importing that solution in another system. Import of solution fails if all required components aren&#

PL400 : import and export solutions (Implement application lifecycle management (ALM))

Image
Deployment processes are generally challenging to each software environment, but Microsoft offers a unique way to adapt and extend behavior from one environment to another. For this process, solutions are used to move apps and components from one environment to another, or to apply a set of customizations to existing apps. Import Solution: The Create privilege is required to import a component. Although System Customizer role has create privilege on most components , but it doesn't have create privilege on the plug-in assembly table. Only System Administrator security role has all privileges including plug-in. Another points which would be noticeable that when we import a managed solution, all component change will be brought into the environment in a published state. However, when we import an unmanaged solution, the changes are imported in a draft state, so we must publish then to make them active. Import Managed Solution  : We install/import a managed solution in the way we impo