com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Checking if the Given Records Store Supports Pagination via JS API

Overview

Function

isPaginationSupported(recordStore, success, error)

Description

Checks if the given records store supports pagination or not.

Output

A JSON object containing the following text in 'message' element if the given table;

  • if supports pagination - returns "true"
  • if does not support pagination - returns "false"

Example

client.isPaginationSupported("SampleRecordStore", function(data) {
      console.log (data["message"]);
}, function(error) {
      console.log("error occured: " + error);  
});

Sample output

true
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.