Skip to main content
Newcomer
January 19, 2023

Business Rules in Visual Studio

  • January 19, 2023
  • 7 replies
  • 0 views

Is it possible to create rules in Visual Studio?

7 replies

Veteran
January 19, 2023

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

WikusAuthor
Newcomer
January 19, 2023

Thanks Nic.

Veteran
January 19, 2023

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

Contributor
January 19, 2023

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

Veteran
January 20, 2023

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!

 

Legend
December 29, 2025

This is the approach I would take, adding that the XML be loaded directly via API driven process that connects directly to the source repo.  The fewer steps in the user's hands, the better for governance and risk mitigation. 

OS already has code that generates the XML in another utility that generates VS projects based on assemblies.  Start there.

OneStream Employee
January 20, 2023

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

Contributor
April 26, 2024

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

OneStream Employee
November 25, 2025

We have something in the pipeline that hopefully will make it easier to interact with any version control system (or AI, or any other developer tool on one's machine...). Pm me if you're interested in having an early look.

Newcomer
November 24, 2025

You guys have what ya need.  

WikusAuthor
Newcomer
November 24, 2025

Thank you very much, exactly what I was looking for!

WikusAuthor
Newcomer
May 25, 2026

Is it possible to connect the new Developer Studio to a local OS installation? I can't get it connected.

OneStream Employee
May 25, 2026

Hi Wikus​ 

Developer studio only works on environments that use OneStream Identity Server (OIS).

This is documented in the solution.

Hope this helps clarify 

Solution Announcement: OneStream Developer Studio | OneStream Community

Sam