Change tab in tabbed style pane by script

Is there any way to access the list of already opened tabs in a multi content pane and bring to focus one in particular?

Using ShowContent() reloads the content so if it was, for example, a web browser or a trend, all config or navigation done by the user is reset.

I dig inside dlls and was able to get to a class called MultiContentPaneController, that look promising but its constructor needs a reference that i don't know how to find.

 

It would be awesome to have access to something like it:

I'm in SP 2023 P02 but if it necessary i could migrate to the latest version.

Thanks in advance

  • Hi Martin,

    There is not currently a supported way that I know of, but there is a feature that has been discussed but never put on the backlog to add a property e.g. something like aaContent.ContentInfo.AlwaysReloadContent. If it is true, then (default) it behaves like it does today (always reloads the content), but if it is false, it checks if there is content and only loads the contetn if there is nothing, otherwise it shows it with the existing content.

    If you thingk that would be a useful feature, can you please add it to the Ideas portal so we can see if other folks (and how many) are also interested in it?

     - Ernst

  • Hi. Is this something you can create as an Ad-hoc development or hotfix for OMI? We in Goodtech also see the need and advantages for beeing able to select. Has this been added to the ideas portal yet?

    This would also be useful in case of fast switching between large screen with a lot of references. This will normally be slow to open calling ShowContent(), but if allready opened in a multiple pane, we could just simply switch between panes calling ShowContent() without having to reload the graphic all the time.