we are developing plugin with 2021R2 MIP SDK, how to switch sidepanelusercontrol by clicking different tab in smart client? Now we can manually hide/show through Tabclicknotofy,but this method can not hide outer border and name of Sidepanel. Is there more efficient method?
You might be missing SidePanelPlaceDefinition, so please make sure to make sidepanel visible, which can define a side panel placement. Please see this –
virtual List<SidePanelPlaceDefinition> VideoOS.Platform.Client.SidePanelPlugin.SidePanelPlaceDefinitions
example of usage: Chat sample-
public override List<SidePanelPlaceDefinition> SidePanelPlaceDefinitions
{
get
{
return new List<SidePanelPlaceDefinition>() {
new SidePanelPlaceDefinition() {
WorkSpaceId = VideoOS.Platform.ClientControl.LiveBuildInWorkSpaceId,
WorkSpaceStates = new List<WorkSpaceState>() { VideoOS.Platform.WorkSpaceState.Normal, VideoOS.Platform.WorkSpaceState.Setup }
},
new SidePanelPlaceDefinition() {
WorkSpaceId = VideoOS.Platform.ClientControl.PlaybackBuildInWorkSpaceId,
WorkSpaceStates = new List<WorkSpaceState>() { VideoOS.Platform.WorkSpaceState.Normal, VideoOS.Platform.WorkSpaceState.Setup }
}
};
}
}
You can do this way on Live but not on Playback or vice versa.