microsoft / AL-Go

The plug-and-play DevOps solution for Business Central app development on GitHub
MIT License
293 stars 124 forks source link

Dependency on third party app #846

Closed buzzwick closed 11 months ago

buzzwick commented 11 months ago

Question: How do we manage a dependency on a third party app--which might be installed on our development environment, but for which we do not have access to a repository for GitHub builds. Is there a way to specify a dependency in Settings and point to a runtime .app file (which we do have access to)? How is this normally handled?

freddydk commented 11 months ago

You can use the InstallApps setting - https://aka.ms/algosettings#installapps

buzzwick commented 11 months ago

Took a few tries to get the punctuation right, but this works fine now. In future, I will remember to scan the Settings page to look for more exciting features like this one! Thanks very much.

fvet commented 8 months ago

@buzzwick Any tips on how to best format the path to the folder containing the 3rd party apps? Instead of trial / error, would be great if some samples were available on how to reference apps within the project, to help others ;)

image

@freddydk Any hints on how to reference the app files from the Project/App/.appSourcePackages folder in the appFolders setting?

buzzwick commented 8 months ago

These are both Dropbox links, which I get by right-clicking on a file in a Dropbox folder and selecting "Copy Dropbox link." You have to change the 0 at the end, to a 1.

You can also get OneDrive links, and possibly Sharepoint.

"installApps": [ "https://www.dropbox.com/scl/fi/9b06xxxx5wv0nt5yb/Suxxxxxxxx.runtime.app?rlkey=f8vv3ww7gybcph2wwrkimgh0w&dl=1", "https://www.dropbox.com/scl/fi/k51miwxofx19prvwmlvf6/Johxxxxxxxx.app?rlkey=c7zxcwphz62hcai4xxxxxayc&dl=1" ],

fvet commented 8 months ago

@buzzwick Thx for the tips. I was more looking into storing the app files inside the repo, so devs would have them available in VS code as well to easily publish them on their dev environment. Will continue my tests...