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
  • Hi Jakob,

    Unfortunately we have both been unable to find an answer, so far.

    If I can guess the intention for that example code in OMI toolkit is intended to be executed from a OMI App, so the Control (Object) reference is perhaps not the intended content, and perhaps the Top/Left/Right/Bottom reference is to open whatever slide-in pane on the 'same' level, but I can not get it to work either way so I can not say.

    I have created a ticket for this issue since we now have several customers who is asking for a more intuitive way of interacting with the slide in panes.

    I don't have the possibility to put the time in to guesstimate code here so I have created a ticket for this and will report back whatever we figure out Slight smile

    Would be sad to create a OMI app just for this function (Hamburger app, I'm looking at you ;) )

Children
No Data