Page Navigation in a PowerPoint Macro does not work as expected
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
When trying to navigate to the next or previous page in a Office PowerPoint Macro, nothing happens.
Environment
Confluence 7.19.X and Confluence 8.X
Diagnosis
In the Atlassian Confluence logs you will not observe any error or problem when navigating. Howewver, monitoring with your browser's developer tools, the following error message can be observed when clicking on the page navigation buttons:
Uncaught TypeError: this.getView() is not a function
at com.atlassian.conflu...locale=en-US:71:122
at baseTimes (lodash.js:991:23)
at Function.times (lodash.js:16220:20)
at OC.SlideCache.preload (com.atlassian.conflu...?locale=en-US:71:90)
at f (batch.js?locale=en-US:412:2109)https://confluence.atlassian.com/upm/disabling-and-enabling-apps-273875716.html
at i.trigger (batch.js?locale=en-US:412:1343)
at i.set (batch.js?locale=en-US:412:3684)
at i.next (batch.js?locale=en-US:54:220)
at i.next (batch.js?locale=en-US:60:423)
at mr (batch.js?locale=en-US:427:9385)
...
...
Cause
These issue is usually caused by third party plugins.
As an example, there is a Confluence issue reported under - CONFSERVER-88283Getting issue details... STATUS related to Refined for Confluence DC, but there are other reported cases related to Elements Spreadsheet and Incompatible versions of different 3rd party plugins.
Solution
Enable Safe Mode in your Confluence instance to confirm if the issue is caused by a 3rd party plugin.
In case it is, please update the plugin to the latest Compatible version with your Confluence version. If the issue remains afterwards, we recommend you to directly contact the vendor of the 3rd party app to get additional help.
If after enabling Safe Modethe page navigation keeps failing, please raise a new Support case with Atlassian Support and our team will help you further.