WebOffice 10.9 SP1 introduces the concept to reuse the ArcMap table of content. Therefore the ArcMap table of content should have exactly the structure, names and visibilities that you would like to see in the WebOffice html client.

 

icon_comment

The information whether a topic group in the map document/map service is collapsed or expanded is not available via ArcGIS REST API:

For ArcMap based map services the information can be read from the MXD via WebOffice 10.9 SP1 Server Object Extension.

For ArcGIS Pro based map services this option is not available.

 

 

Anyway it may happen that for specific WebOffice 10.9 SP1 projects you cannot use exactly the same table of content like in ArcMap. Therefore, it is possible to override ArcMap table of content definitions by redefining the elements of the table of content in the WebOffice 10.9 SP1 project configuration again.

 

Using the WebOffice 10.9 SP1 project table of content configuration, it is possible to add certain properties to existing elements of the table of content, e.g. metadata information and properties on map service level which are not represented in the ArcMap table of content at all.

 

icon_comment

WebOffice 10.9 SP1 table of content should be used just to override properties of the ArcMap table of content or add new properties. It is not recommended to explicitly configure the whole table of content in WebOffice 10.9 SP1 again. You would do the work twice (it is already defined in the ArcMap table of content)!