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

Tracking the Indexing Process Completion via JS API

Overview

Function

waitForIndexing(success, error)

Description

Tracks whether the indexing process is completed.

Output

A JSON String object containing the message on successful completion of the indexing process.

Example

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

Sample output

 {
	status: "success"
	message: "Indexing completed successfully"
}
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.