Forum Discussion
- NicolasArgenteValued Contributor
Hi Jack.
VS Studio can save into GIT. Then with an api you can retrieve the BR from GIT directly into OS. Just add a Dashboard on the top of that and job done.
Now, there are some disadvantages :
- You need someone that manages GIT.
- This approach is slower if you need to simple add a simple thing in the BR.
So, the answer is Yes and No. đŸ™‚
Cheers- db_pdxValued Contributor
Would you be able to share a sample of a BR used to pull from GIT into OS?
- NicolasArgenteValued Contributor
Hi Wikus,
Yes it is possible in Visual Studio 2019/2022 and you can add the OS references for intellisense.
Now if you talk about VS Code it is far from great, but it is due to VS Code itself and intellisense will be trouble...
Hope it helps
Nic- WikusNew Contributor III
Thanks Nic.
- JackLacavaHonored Contributor
Nicolas, do you have a way to automatically save the files from VS into OS, or are you just copypasting them?
- AndreaFContributor III
NicolasArgente , how do you add the OneStream intellisense to Visual Studio?
- NicolasArgenteValued Contributor
Hi AndreaF Get the DLLs from the OS server and drop them as a reference to a folder on your computer. Then point VS Studio to it. You will find many examples online on how to point DLLS.
- JackLacavaHonored Contributor
For the record, I am aware that the Application Control Manager solution team is aware this is a bit of a sore problem, so we might get something to address it eventually...
- KurtMayerContributor
Jack, do you have any more current information about ACM and GitHub integration? I'm getting these questions again in classes from students.
- NicolasArgenteValued Contributor
Hi db_pdx!
I do not have the BR for it directly - but you will have 2 challenges. One being more complicated then the other.
The first one is the api call to GitHub (or GitLab or anything else).
As an example, you will have few variables to pass on the api URL :
- GitOwner
- GitRepo Name
- Gitpath which is in other words the name of the file in git repo.
- Token from GitHub.
Once you have that, you do your api call like any normal api call....
The second challenge is adding the results of the call directly in OS. I would suggest to generate an XML load as at least by using that you use the native OS functionnality. So this challenge is more complex as you need to turn the call from GIT into an OS XML. You would probably need other variables specific to OS in your dashboard (security among others).
Have a good week end db_pdx!
Related Content
- 2 years ago
- 3 months ago
- 10 months ago