I’d like to create a smart client plugin that will automatically “initialize” the client to the proper views. The option to load the “last” view does not cut it. We have customers running multiple screens and they should always load the same way. Often a user closes a view or changes something and they need an easy way to undo it and reset all their screens to the “right” views. It’s a feature I’ve been waiting for Milestone to release for years, but I can’t wait any longer. SCS scripting doesn’t seem to be maintained much (ie you can’t load a view during startup, and you can’t load a smart wall view at all from what I can see).
So I need some direction on how I can “control” the smart client, much like a SCS script, from the API. And how I can be notified when the complete environment is loaded and ready to be controlled. All the examples seem to focus on adding functionality, which I’m not doing. I don’t need anything in the toolbar, no special workspace, etc. I just want to load certain views on certain screens on startup (ie create a detached full-screen window).
Could someone point me in the right direction and I’ll take it from there?
Just realized there IS a sample with some of this info, it’s just not under Component/Plugin/Protocol… there’s a separate Tools folder I never noticed before.
I’m trying to modify the “Select a view” button on the “MultiWindow” tab to show Smart Wall views, but I’m not having any luck.
I keep answering my own question, but I’ll post here to share in case someone is looking for the same thing. There are new Kinds for Smartwalls, so if you set form.KindFilter = Kind.SmartWallPreset you will get an ItemPicker for Smartwall views. I don’t see a way to list regular views and smartwall presets in a single itempicker, but i may be missing something.
Have you seen the new Video Wall Controller sample? It might clarify how you can use Smart Walls.
NEW sample in MIP SDK 2017R2!
Thank you for highlighting the Tools in general and the Smart Client View and Windows tool in particular. This sample is often overlooked and that is a pity because it is very useful!
I know this is a bit of an old question, but for others who find this. The views shown on login are user account driven, its best to use a particular account if you need to open a select group of views for each location. This works for multi screens with floating windows too.
For details on scripting in the SmartClient drag a html page into a 1x1 tile and type “about:script”. This provides all of the client scripting options that can be created. There are view options, but how easy it would be to send a view to a selected screen is anyone’s guess.