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

Checking if a Given Table Exists via JS API

Overview

Function

tableExists(tableName, success, error)

Description

Checks if a given table exists.

Output

A JSON object containing the following text if the given table;

  • exists - "Table : testtable exists."
  • does not exist - "Table : testtable does not exist."

Example

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

Sample output

 {
status: "success"
message: "Table : testtable exists."
}
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.