Info |
---|
Steps to install APSD in D365 PowerApps platform |
...
Expand | ||
---|---|---|
| ||
Security roles are now included as part of the solution and will be migrated between environments as part of it.
|
Export the solution
Data will not be migrated between environments. This would need to be done separately using Excel files.
Return to the modern Power Apps UI and select the environment you are migrating from.
Click on
Solutions
on the left-hand menu and then click on theAPSD
solution.Click
Publish all customizations
in the top menu bar.Switch to the Overview tab on the side and click
Export
→Next
.Increase version number as applicable, and select Unmanaged, then click on
Export
.
...
Setting Up a New Environment
When setting up a brand new environment, there are a few additional steps that must be done other than simply importing the solution. The custom connectors must be created (as there is currently a bug that doesn’t allow them to be migrated with the solution) and all lookup data must be imported.
* Custom connectors must be created before importing the solution.
Expand | ||
---|---|---|
| ||
|
...
|
Expand | ||
---|---|---|
| ||
There is a bug with D365 that doesn’t allow sharing of custom connectors if they are included in a solution. Workaround: https://youtu.be/ROKO589RBnQ
|
Migrating the Application Between Environments
Export the solution
Data will not be migrated between environments through the solution. You will need to perform data migration separately following the steps below.
Return to the modern Power Apps UI and select the environment you are migrating from.
Click on
Solutions
on the left-hand menu and then click on theAPSD
solution.Click
Publish all customizations
in the top menu bar.Switch to the Overview tab on the side and click
Export
→Next
.Increase version number as applicable, and select Unmanaged, then click on
Export
.
Note |
---|
We have to export it as unmanaged due to the custom connectors, which cannot be exported as part of the solution. They need to be recreated in the new environment and then the app must be updated to point to the “new” connectors. Once Microsoft fixes this bug, we can then migrate the connectors as part of the solution and this should allow us to use a managed solution. |
Import the solution
Click on
Solutions
on the left-hand menu and thenImport
in the top menu bar.Select
Browse
and point to the zip file,APSD_1_0_0_X.zip
, created in the export solution steps. "X" will be the current iteration number at the time of deployment.Click
Next
twice and create a new connection for both Outlook and Dataverse.For both connectors, select a predefined system account that is a System Administrator. This information needs to be handed over by the Exchange group, in the DEV environment we are using our own accounts.
Click
Import
and wait for the process to finish.Click on
Publish all customizations
.
...
Go to edit the Service Request Canvas app.
When prompted, select
Don't Allow
.Remove all connections that are showing as not connected - 5 connections (APSR, MTAPI, SIAPI, SPAPI, TMAPI), Office365Users and APSD_Translations.
Add all of them back.
For APSD_Translation, connect to SharePoint data connector. In the box enter the following URL: https://034gc.sharepoint.com/sites/DSD-CivilAviation/Lists/APSD_Translations/AllItems.aspx
Check off the
APSD_Translations
list & clickConnect
.Run the App Checker and ensure no errors are reported.
Go to the “
New Service Request Step One Screen
" and click on thecboNapaProject
element. Turn on “Allow searching” in the properties.Go to the “
New Service Request Step Three Contact Info Screen
” and click on thecboFindOrganizationAlt
element. Turn on "Allow searching" in the properties.Save and Publish the app.
...
Importing/Migrating Data
When setting up a new environment, all lookup data must be brought into the environment. This can be done either through creating a dataflow to migrate data between environments or by importing the data from an Excel spreadsheet.
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
Follow the same steps for Importing SCRAM task data using the AP Task table instead. |
Flows
Expand | ||
---|---|---|
| ||
Name: Flow - TimeSheetNotifications Description: This Power Automate Flow triggers when the “ap_timsheetstatus” field is modified to “Rejected”. The flow sends an email to the submitter. |
...