Forum Discussion

FabioG's avatar
FabioG
New Contributor III
12 days ago

Report 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

FabioG

  • DanielWillis's avatar
    DanielWillis
    Valued Contributor

    I had a quick play some time ago (7.4?) and didn't figure it out at the time and moved on. Please share if you do manage. 

  • FabioG's avatar
    FabioG
    New Contributor III

    I understand that reports leverage on DevExpress library. What's missing (at least on documentation) is the link between OneStream and DevExpress....  

    There a a lot of things that I'm thinking about:

    1. I see I can add DLLs to the report (a bunch of them are automatically added)... but I cannot add DLLs resulting from my assemblies/business rules, since they change their names after every compilation. Wouldn't it be nice to be able to add our custom DLLs ? Specifying them through a well defined syntax (Workspace.<wsName>.<assemblyName> or BR.<businessRuleName>)
    2. Is there a way to get the current SessionInfo object in report's scripts ? 
    3. Since the scripts are part of the DevExpress reporting component, we can leverage on them to interact with report's components (the sender is always the component itself). Since the intellisense is not working there, I have no clue to understand which OneStream's objects are actually instantiated and passed to the report

    Just wondering if opening new ideaStream makes sense.

    Regards

    FabioG