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

Parents
  • 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

Reply
  • 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

Children
No Data