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
  • Thank you! Using your example i was able to Identify the reason for all my issues!!

    .Parent....

    ArchestrA.Client.ViewApp.ViewApplication.Application.ActivateSlideInPane(MyContent.NavTreeControl1.Parent,ArchestrA.Client.ViewApp.SlideInPanePosition.Left);

    All seems so logical once you have a working solution Slight smile

    One would think that this is the purpose reason for AI, the code should know what I'm looking for and not get hung up on things like spelling and correct syntax....

    Jokes aside, thank you so much for engaging and sharing your experience, this will not only help me, but I can imagine several others with the same/similar issue.

    This is a classical case of aveva-need-to-know know-how..

    You will not be able to get this from the documentation and as you pointed out, the Techsupport has already stated that its not possible Slight smile

    But that's us, making the impossible, possible.

Children