From 5351bd861cace6866d07169df5d20b7ce5b7d7fb Mon Sep 17 00:00:00 2001 From: Florian Hopfner Date: Sat, 22 Feb 2025 15:01:14 +0000 Subject: [PATCH] add example for new parameter -IncludeFallbackRetailServiceModels --- d365fo.tools/functions/invoke-d365sdpinstall.ps1 | 9 ++++++++- d365fo.tools/internal/functions/update-topologyfile.ps1 | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/d365fo.tools/functions/invoke-d365sdpinstall.ps1 b/d365fo.tools/functions/invoke-d365sdpinstall.ps1 index 1847fbdc..8690fd20 100644 --- a/d365fo.tools/functions/invoke-d365sdpinstall.ps1 +++ b/d365fo.tools/functions/invoke-d365sdpinstall.ps1 @@ -76,7 +76,7 @@ Include fallback retail service models in the topology file This parameter is to support backward compatibility in this scenario: - Installing the first update on a local VHD where the information about the installed service + Installing the first update on a local VHD where the information about the installed service models may not be available and where the retail components are installed. More information about this can be found at https://github.com/d365collaborative/d365fo.tools/issues/878 @@ -129,6 +129,13 @@ PS C:\> Invoke-D365SDPInstall -Path "c:\temp\" -MetaDataDir "c:\MyRepository\Metadata" -UnifiedDevelopmentEnvironment Install the modules contained in the c:\temp\ directory into the c:\MyRepository\Metadata directory. + + .EXAMPLE + Invoke-D365SDPInstall -Path "c:\temp\" -Command RunAll -IncludeFallbackRetailServiceModels + + Create Topology XML from current environment. If the current environment does not have the information about the installed service models, a fallback list of known service model names will be used. + This fallback list includes the retail service models. + Using default runbook id 'Runbook' and run all the operations from generate, to import to execute. .NOTES Author: Tommy Skaue (@skaue) diff --git a/d365fo.tools/internal/functions/update-topologyfile.ps1 b/d365fo.tools/internal/functions/update-topologyfile.ps1 index d6a8ac6f..9ed62d25 100644 --- a/d365fo.tools/internal/functions/update-topologyfile.ps1 +++ b/d365fo.tools/internal/functions/update-topologyfile.ps1 @@ -20,7 +20,7 @@ Include fallback retail service models in the topology file This parameter is to support backward compatibility in this scenario: - Installing the first update on a local VHD where the information about the installed service + Installing the first update on a local VHD where the information about the installed service models may not be available and where the retail components are installed. More information about this can be found at https://github.com/d365collaborative/d365fo.tools/issues/878