Nonprofits

Build and deploy a Dataverse solution

The Common Data Model for Nonprofits, Fundraising, Grant Management, Outcome Management, and Volunteer Management are solutions built on Dataverse. The process to build and deploy is the same for each of these solutions.

This repository contains multiple Dataverse solutions. Always ensure you are in the correct solution folder. Follow the steps below to build and deploy the solution into a Power Platform environment.


📌 Prerequisites

Before building or deploying a Dataverse solution, ensure you have the following installed:

🛠 Required Software

Tool Version Installation Link
.NET SDK 4.6.2 or later Install Guide
.NET Latest Install Guide
Power Platform CLI Latest Install Guide
Node.js 18.18.0 or later Install Guide

🔑 Authentication Requirements

🏛 Required Data Model

Before installing Fundraising, Outcome Management, Grant Management, or any other nonprofit solutions based on Dataverse, ensure that the Common Data Model (CDM) for Nonprofits is installed first.

This ensures compatibility and proper data structure alignment for all dependent solutions.


⚙️ Build Instructions

Follow these steps to build the solution using .NET and Power Platform CLI.

1️⃣ Open the Command Prompt

2️⃣ Find the correct solution

cd SOLUTION_NAME

3️⃣ Restore Dependencies

dotnet restore

4️⃣ Build the CDS Project

For creating an unmanaged solution, run:

dotnet build

For creating a managed solution, run:

dotnet build --configuration Release

This will build the solution and prepare files for deployment to your Power Platform environment.

📂 Solution Files Location


🚀 Deployment Instructions

1 Authenticate to Power Platform

Run the following command to authenticate:

pac auth create

2 Import the Solution

Run one of the following commands to import the solution into your Dataverse environment. Replace SOLUTION_NAME with the solution name that you would like to import and YOUR_ENVIRONMENT_URL with your Power Platform environment url.

3 Verify Solution Import

After importing the solution, verify that it is successfully imported:

  1. Navigate to Power Apps Maker Portal.
  2. Select the environment where you imported the solution (top-right corner).
  3. In the left navigation menu, click on Solutions.
  4. Search for the correct SOLUTION_NAME in the solution list.
  5. If the solution appears with a status of “Managed” or “Unmanaged”, the import was successful.

If the solution is not listed or has errors, check the Import History for details.


Troubleshooting


📝 Additional Resources


🎯 You’re Ready to Build and Deploy!

If you have any questions, feel free to create an issue in the repository. 🚀