Replies: 3 comments
-
I looked a bit around in the BusinessCentral core app repo. there they do an overwrite of the NewBCContainer.ps1. I would guess this is some sort of what it has to look like to run like no overwrite. Param( Add Custom Stuff hereNew-BcContainer @parameters Or hereInvoke-ScriptInBcContainer -containerName $parameters.ContainerName -scriptblock { $progressPreference = 'SilentlyContinue' } now you can add things right in front of the New-BcContainer to influence things $parameters.multitenant = $true Just place it in the .AL-Go folder ....based on the doc you can do that for several other files as well... not sure it helps with the Run-ALPipeline script ... :) |
Beta Was this translation helpful? Give feedback.
-
I completely forgot about this thread; I've since created my own custom script to deploy to OnPrem environments. |
Beta Was this translation helpful? Give feedback.
-
You will also see some script overrides used in the BCApps repository, here: https://github.com/microsoft/BCApps/tree/main/build/projects/System%20Application%20Tests/.AL-Go (or in the other projects in that repo) |
Beta Was this translation helpful? Give feedback.
-
I'm interested in experimenting with overriding parts of the AL Pipeline, but the documentation doesn't explain much about how to effectively implement a custom script. Is there a way to review the
params
hashtable at this point? Do I have to return a set of specific variables for the pipeline to run smoothly? Are there any examples of different overrides?Beta Was this translation helpful? Give feedback.
All reactions