I have a plugin defined workspace that is almost emply. I would like to set a previously designed view on the area of this workspace.
I am able to use something like this to set the view in the playback workspace when XXX is replaced with the main window FQID. But how do I set the view in my own workspace? I have a reference to the workspace plugin object. I cam also find the workspace Item object. But using the FQID any of these results in a call not doing anything useful. How do I accomplish what I want, that is to set the view in my own workspace?
Item foundv = SearchView(layout, null); //my own method to find the correct view.
MultiWindowCommandData data = new MultiWindowCommandData();
data.MultiWindowCommand = MultiWindowCommand.SetViewInWindow;
data.Window = XXXXX;
data.View = foundv.FQID;
EnvironmentManager.Instance.SendMessage(
new VideoOS.Platform.Messaging.Message(MessageId.SmartClient.MultiWindowCommand, data), null, null);