How to activate a slide-in pane using script (OMI Toolkit)?

Hello Heroes,

I am trying to open a slide in pane containing Historian Client using a script in my ViewApp, not the Hamburger-button.

I have a bit that i set to "True" with a toggle button, then I have a "While True" script running when the bit is true.

I have tried running this;

ArchestrA.Client.ViewApp.ViewApplication.Application.ActivateSlideInPane(MyContent.HistoricalTrendControl1,ArchestrA.Client.ViewApp.SlideInPanePosition.Top);

I get no errors, and nothing in logs when i press the button. But the slide-in pane does not active/slide in. Any help available?

The documentation of the toolkit says to use an reference to a control object and position of slide in pane as parameters in the function call:

Parents Reply
  • Got it work, please don't forget to import the .dll

    You must load into the IDE the ArchestrA.Client.ViewApp.ViewApplication.dll that you can find at multiple places in the root installation drive after the SP installation. And you need at least one app in your layout !

    The issue with the latest version is that you're unable to load the dll. I think... but I must test it again. 

    Another remark : you can call the slide in but you need to click in another place to make it disapear. You can't do that via scripting but it sounds logical to me.

    https://we.tl/t-EtVIoqh6z

Children