Compilation Chain issues
Hi all, I wrote a bunch of BRules and a couple of Assemblies (in different workspaces) that work together to perform calculations. So in the end I have a dependency chain like this: BR => Assembly => Assembly Things works like a charm. Sometimes, after I made changes to an Assembly, I get a weird error saying that OneStream cannot find my assembly. While this is true when it cannot compile correctly (due to errors), it doesn't make sense to me when it compiles fine. Even if I compile my assemblies before I run the BRules, sometimes it happens. I'm trying to find out an explanation and I thought that: I run the BRule and OneStream think that Assembly1 - a dependence - is "old", so.... OneStream start compiling Assembly1, and, while compiling it, OneStream think that Assembly2 - a dependence - is "old", so.... OneStream start compiling Assembly2 Maybe these compilations are running async and in parallel... And, maybe, the last compilation takes too much time, taking the first one returning the error. This is just an idea that could explain this issue, but I'm quite sure this is the right way: when I started working on OneStream, my code wasn't affected, IMHO because the assemblies were small enough to be compiled in a reasonable time. But now they are growing up, and the compilation time is growing too. In any case, I'm wondering it there's a way to solve this annoying issue: I often have to (re)launch the same BRule and, on a customer's perspective, seeing a compilation error (even if fake) doesn't make a good impression. Thanks FabioG16Views0likes2CommentsManaging Application Secrets
Hi all, While getting into OS, I'm trying to figure out how to leverage on its framework... And I have a question related to secrets management. Let's say that - at application (workspace?) level - I need to access to a remote service that requires an OAuth token (or user/pass tuple, or whatever I need to keep away from user's eyes - and fingers). The above mentioned secrets should be (visually?) managed by an administrator. Does OS offer something out-of-the-box to accomplish this task ? And, in case, can we leverage on some API to retrieve secret data ? Thanks for Your answers. FabioGSolved104Views0likes4CommentsXFString inside an Assembly
Hi all, while building new classes inside a Workspace's Assembly, I'd like to get Strings in specific languages. On components, we use "XFString(<stringName>)" to get the localized string, in the User's language. How can I accomplish the same thing inside a method ? I mean, which is the equivalent for XFString inside - let's say - BRApi ? Or should I really get the localizations from the DB Table ? Thanks for Your help Regards FabioG16Views0likes0CommentsUsing Assembly's XFBRs
Hi all, I'm in trouble in using an XFBR from an Assembly, inside a Data Adapter. I've just discovered that it's possible to use the XFBR function as part of a SQL Command, like this: SELECT * FROM MyTable WHERE MyField = 'XFBR(MyBR, MyFunction, Param1=|!prm_Whatever!|)' I was surprised to see it working, but this is not the point. When MyBR is defined as a Business Rule, everything isworking fine. Then I moved the Business Rule into a Service XFBR. Since the Factory is defined at Workspace level, I converted the query as: SELECT * FROM MyTable WHERE MyField = 'XFBR(WS, MyFunction, Param1=|!prm_Whatever!|)' Directly testing the Data Adapter everything works fine, I can see the converted query and also the results. Now, the problems: The above mentioned Data Adapter is used by a Report. When the XFBR is defined under the Business Rules area, everything is ok. When I launch the report (from a Dashboard), i get the following error: Error processing XFBR String 'MyFunction'. Unable to find the Workspace Assembly Service Factory class for name 'WS' in Workspace 'Default' Not clear what I'm missing. Can someone point me in the right direction, please ? As an additional info, let me say that the DataSet/DashBoard/etc were moved from the Default WorkSpace into a brand new WorkSpace (but I cannot see any reference to the Default WorkSpace in Data Adapter or Report) Thanks a lot FabioGSolved251Views1like10CommentsInvalid Cells in Cube Views
Hello everyone! I am very new to the industry and OneStream and I really need some help to kick start my application building journey! Currently, I am trying to test out the capabilities of OneStream using the scenario stated below: I have one central division that will split into two 'teams'. For example, Division_1 and Division_2, both teams have handle their own projects. For example, for D_2, under Project 50A there are mini projects like 50A001 and 50A002. For D_1, under the same project 50A, they handle other projects like M0001 and M0002. So what I am trying to achieve is: Tracking their expenses, so they will roll up to the central Division. E.g. Division 1, project 50A, spent $1,000, Division 2, project 50A spent $1,500. So the rolled up amount would be $2,500 and the ability to breakdown to the specific items. If possible (which it is) Division 1 handle projects that are "Approved" so the expenses are actual. Division 2 handle projects that are "Awaiting Approval" so the expenses are 'Budget'. SO the main issue i am facing right now is that I am unable to manually input data into the cube view that I created and I don't know why. I checked all the settings which allows inputs = True. I suspect it's my design but yeah I need help please. Below are the photos regarding to my issue. Would really appreciate any help! And advice in designing an application from scratch! Thank you :) Updated: Figured out that my POV is slightly wrong. But I still can't input data..Solved57Views0likes3CommentsReport Scripts
Hi all, I'm trying to figure out how to leverage on Report Scripts using OneStream objects. Is it possible to leverage on BRApi inside scripts events ? A direct call to BRApi class results in an error, I'm wondering if there's some workaround or trick to reach the object. Best Regards FabioG23Views0likes2CommentsData Audit Dashboard
Hi All, I am trying to create a dashboard to extract the data for the given point of intersection basically I have given all the dimension parameter for the user to select and click on the button download that runs the DataManagement job and will extract the data for the selected POV . I am able to achieve the above requirement just like an enhancement I want to also get the data of the user details who has loaded data into those point of intersection. Can some one help me with the lead how can I achieve the above user details that would be really great. Thank You10Views0likes0Comments