Business Rules in Visual Studio

Wikus
New Contributor III

Is it possible to create rules in Visual Studio?

11 REPLIES 11

NicolasArgente
Valued 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

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.

Wikus
New Contributor III

Thanks Nic.

Nicolas, do you have a way to automatically save the files from VS into OS, or are you just copypasting them?

@NicolasArgente , how do you add the OneStream intellisense to Visual Studio?

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.

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.

Thank you. I don't have access to an on premise OS server at the moment. For cloud implementations I guess we will have to request the DLLs to OneStream support? I will contact them and let you know their reply.

NicolasArgente
Valued 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

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.

Would you be able to share a sample of a BR used to pull from GIT into OS?

NicolasArgente
Valued 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!

 

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.

JackLacava
Community Manager
Community Manager

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...

KurtMayer
New Contributor III

Jack, do you have any more current information about ACM and GitHub integration?  I'm getting these questions again in classes from students.

Kurt Mayer | Perficient.com